power.cfg 811 Bytes
Newer Older
1
2
submenu "$VTLANG_POWER" --class=debug_power --class=F5tool {
    menuentry "$VTLANG_POWER_REBOOT" --class=debug_reboot --class=debug_power --class=F5tool {
longpanda's avatar
longpanda committed
3
4
5
6
        echo -e '\n\nSystem is rebooting ... \n'
        sleep 1
        reboot
    }
7

8
    menuentry "$VTLANG_POWER_HALT" --class=debug_halt --class=debug_power --class=F5tool {
longpanda's avatar
longpanda committed
9
10
11
12
        echo -e '\n\nSystem is halting ... \n'
        sleep 1
        halt
    }
13
14
    
    if [ "$grub_platform" != "pc" ]; then
15
        menuentry '$VTLANG_POWER_BOOT_EFIFW' --class=debug_efisetup --class=debug_power --class=F5tool {            
16
17
18
19
20
            echo -e '\n\nRebooting to enter UEFI firmware setup ... \n'
            sleep 1
            fwsetup
        }
    fi
21

22
23
    menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
        echo "Return ..."
longpanda's avatar
longpanda committed
24
    }
25
}