2022-12-19 10:49:25 -05:00
|
|
|
submenu "$VTLANG_POWER" --class=debug_power --class=F5tool {
|
|
|
|
menuentry "$VTLANG_POWER_REBOOT" --class=debug_reboot --class=debug_power --class=F5tool {
|
2022-02-14 10:31:54 -05:00
|
|
|
echo -e '\n\nSystem is rebooting ... \n'
|
|
|
|
sleep 1
|
|
|
|
reboot
|
|
|
|
}
|
2020-05-29 10:57:40 -04:00
|
|
|
|
2022-12-19 10:49:25 -05:00
|
|
|
menuentry "$VTLANG_POWER_HALT" --class=debug_halt --class=debug_power --class=F5tool {
|
2022-02-14 10:31:54 -05:00
|
|
|
echo -e '\n\nSystem is halting ... \n'
|
|
|
|
sleep 1
|
|
|
|
halt
|
|
|
|
}
|
2022-04-06 03:57:42 -04:00
|
|
|
|
|
|
|
if [ "$grub_platform" != "pc" ]; then
|
2022-12-26 03:56:53 -05:00
|
|
|
menuentry "$VTLANG_POWER_BOOT_EFIFW" --class=debug_efisetup --class=debug_power --class=F5tool {
|
2022-04-06 03:57:42 -04:00
|
|
|
echo -e '\n\nRebooting to enter UEFI firmware setup ... \n'
|
|
|
|
sleep 1
|
|
|
|
fwsetup
|
|
|
|
}
|
|
|
|
fi
|
2020-05-29 10:57:40 -04:00
|
|
|
|
2022-12-19 10:49:25 -05:00
|
|
|
menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
|
|
|
|
echo "Return ..."
|
2022-02-14 10:31:54 -05:00
|
|
|
}
|
2020-05-29 10:57:40 -04:00
|
|
|
}
|