From dcaf65bfa45f6dd4102fdb4741e79453f452d1f8 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 30 Nov 2023 13:56:32 +0100 Subject: [PATCH] playground --- live/configfile.sh | 7 +------ live/menu/main.sh | 6 +++++- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/live/configfile.sh b/live/configfile.sh index 2df106e..0c91d68 100644 --- a/live/configfile.sh +++ b/live/configfile.sh @@ -1,6 +1 @@ -menuentry 'menuentry 1' { nop } -submenu 'submenu' { - menuentry 'subentry 1' { nop } - menuentry 'subentry 2' { nop } -} -menuentry 'menuentry 2' { nop } +menuentry 'configfile' { nop } diff --git a/live/menu/main.sh b/live/menu/main.sh index 0a2064f..3d029f3 100644 --- a/live/menu/main.sh +++ b/live/menu/main.sh @@ -9,6 +9,10 @@ menuentry '↑ env →' { menu 'env' } menuentry '↑ set →' { menu 'set' } menuentry '↑ cmd →' { menu 'cmd' } menu_split -menuentry 'configfile' { configfile "${live}/configfile.sh" } +submenu 'playground →' { + menuentry 'configfile' { configfile "${live}/configfile.sh" } + menu_swap "check_squashfs | ${check_squashfs}" \ + 'check_squashfs' 'enforce' 'no' +} menu_split menuentry 'static →' { menu 'static' }