From 4d2f6d5530aac4094c7d8a52fd8cfeaac3904d61 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 30 Nov 2023 13:59:30 +0100 Subject: [PATCH] submenus/env --- live/menu/main.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/live/menu/main.sh b/live/menu/main.sh index 3d029f3..b468e81 100644 --- a/live/menu/main.sh +++ b/live/menu/main.sh @@ -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'