01-23-2023, 07:19 PM
(01-23-2023, 06:09 PM)nguyen ha thai trong Wrote:F8 and later keys are disabled. unfortunately these commands don't work that way.(01-23-2023, 06:02 AM)hyun9358 Wrote: I want to make the power on and off function work directly with F11 and F12. How do I use a hotkey?elif [ "$vtHotkey" = "F6" ]; then
ventoy_ext_menu
elif [ "$vtHotkey" = "F11" ]; then
sleep 1
reboot
elif [ "$vtHotkey" = "F12" ]; then
sleep 1
halt
fi