submenus/env

This commit is contained in:
Marc Beninca 2023-11-30 13:59:30 +01:00
parent dcaf65bfa4
commit 4d2f6d5530

View file

@ -9,7 +9,13 @@ menuentry '↑ env →' { menu 'env' }
menuentry '↑ set →' { menu 'set' }
menuentry '↑ cmd →' { menu 'cmd' }
menu_split
submenu 'playground →' {
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 →' {
menuentry 'configfile' { configfile "${live}/configfile.sh" }
menu_swap "check_squashfs | ${check_squashfs}" \
'check_squashfs' 'enforce' 'no'