lsgm/live/menu/main.sh

25 lines
709 B
Bash
Raw Normal View History

2023-11-24 05:32:00 +00:00
env_init
2023-10-01 17:59:50 +00:00
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
2023-11-30 12:59:30 +00:00
submenu 'submenu with env →' {
env_init
menuentry 'configfile' { configfile "${live}/configfile.sh" }
menu_swap "check_squashfs | ${check_squashfs}" \
'check_squashfs' 'enforce' 'no'
}
submenu 'submenu without env →' {
2023-11-30 12:56:32 +00:00
menuentry 'configfile' { configfile "${live}/configfile.sh" }
menu_swap "check_squashfs | ${check_squashfs}" \
'check_squashfs' 'enforce' 'no'
}
2023-11-21 08:13:18 +00:00
menu_split
2023-11-30 12:34:21 +00:00
menuentry 'static →' { menu 'static' }