diff options
Diffstat (limited to 'boot-env/preboot/preboot-scripts/dialog.functions')
-rw-r--r-- | boot-env/preboot/preboot-scripts/dialog.functions | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/boot-env/preboot/preboot-scripts/dialog.functions b/boot-env/preboot/preboot-scripts/dialog.functions index a9e76bdd..7c6dd784 100644 --- a/boot-env/preboot/preboot-scripts/dialog.functions +++ b/boot-env/preboot/preboot-scripts/dialog.functions @@ -79,3 +79,27 @@ ddownload () { echo 100 | dialog --gauge "$dl_title" $DIALOG_HEIGHT $DIALOG_WIDTH; } + + + +menu_firststart () { + while [ "x$(cat result)" = "x" ] ; do + dialog --menu "OpenSLX" 30 60 22 \ + 01 "Kiosk" \ + 02 "Kiosk Setup" \ + 03 "Custom System" \ + 2>result + done +} + +menu_oldconfig () { + oldconf=$1; + while [ "x$(cat result)" = "x" ] ; do + dialog --menu "OpenSLX" 30 60 22 \ + 01 "Kiosk" \ + 02 "Kiosk Setup" \ + 03 "Custom System" \ + 04 "Custom System" + 2>result + done +} |