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 '↑ set →' { menu 'set' }
menuentry '↑ cmd →' { menu 'cmd' } menuentry '↑ cmd →' { menu 'cmd' }
menu_split 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" } menuentry 'configfile' { configfile "${live}/configfile.sh" }
menu_swap "check_squashfs | ${check_squashfs}" \ menu_swap "check_squashfs | ${check_squashfs}" \
'check_squashfs' 'enforce' 'no' 'check_squashfs' 'enforce' 'no'