]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - INSTALL/grub/power.cfg
Fix the issue (introduced in 1.1.06) that the Ventoy ISO partition cannot be mounted...
[Ventoy.git] / INSTALL / grub / power.cfg
1 submenu "$VTLANG_POWER" --class=debug_power --class=F5tool {
2 menuentry "$VTLANG_POWER_REBOOT" --class=debug_reboot --class=debug_power --class=F5tool {
3 echo -e '\n\nSystem is rebooting ... \n'
4 sleep 1
5 reboot
6 }
7
8 menuentry "$VTLANG_POWER_HALT" --class=debug_halt --class=debug_power --class=F5tool {
9 echo -e '\n\nSystem is halting ... \n'
10 sleep 1
11 halt
12 }
13
14 if [ "$grub_platform" != "pc" ]; then
15 menuentry "$VTLANG_POWER_BOOT_EFIFW" --class=debug_efisetup --class=debug_power --class=F5tool {
16 echo -e '\n\nRebooting to enter UEFI firmware setup ... \n'
17 sleep 1
18 fwsetup
19 }
20 fi
21
22 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
23 echo "Return ..."
24 }
25 }