main,static,sys

This commit is contained in:
Marc Beninca 2023-11-30 13:34:21 +01:00
parent 5c8fedafd9
commit 29ed9e9f03
9 changed files with 98 additions and 50 deletions

View file

@ -1,8 +1,10 @@
env_init
menu_init
menuentry 'halt' { halt }
menuentry 'reboot' { reboot }
menuentry 'reload' { menu }
menuentry 'exit normal' { normal_exit }
menuentry 'exit grub' { exit }
menu_split
menuentry 'setup firmware' { fwsetup }
menu_split
menuentry 'reboot' { reboot }
menuentry 'halt' { halt }

14
live/menu/main.sh Normal file
View file

@ -0,0 +1,14 @@
env_init
menu_init
default='scan'
menuentry ' scan →' --id 'scan' { menu 'scan' }
menuentry '↑ gfx →' { menu 'gfx' }
menuentry '↑ env →' { menu 'env' }
menuentry '↑ set →' { menu 'set' }
menuentry '↑ cmd →' { menu 'cmd' }
menu_split
menuentry 'configfile' { configfile "${live}/configfile.sh" }
menu_split
menuentry 'static →' { menu 'static' }

10
live/menu/static.sh Normal file
View file

@ -0,0 +1,10 @@
env_init
menu_init
default='lg'
menuentry 'bash / stable / tui' --id 'st' { debsquash '/boot/bash/stable/tui' }
menuentry 'bash / stable / gui' --id 'sg' { debsquash '/boot/bash/stable/gui' }
menu_split
menuentry 'bash / latest / tui' --id 'lt' { debsquash '/boot/bash/latest/tui' }
menuentry 'bash / latest / gui' --id 'lg' { debsquash '/boot/bash/latest/gui' }