summaryrefslogtreecommitdiff
path: root/scripts/create-menu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/create-menu')
-rwxr-xr-xscripts/create-menu8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/create-menu b/scripts/create-menu
index 94698e8d1..8bd7de4b3 100755
--- a/scripts/create-menu
+++ b/scripts/create-menu
@@ -20,8 +20,12 @@ if [ -d "$topdir/target/appliances" ];then
printf "config ADK_CHOOSE_APPLIANCE\n" >> $topdir/target/config/Config.in.appliances
printf "\tprompt \"choose an appliance\"\n" >> $topdir/target/config/Config.in.appliances
printf "\tboolean\n\n" >> $topdir/target/config/Config.in.appliances
- cat $topdir/target/appliances/* >> $topdir/target/config/Config.in.appliances 2>/dev/null
- printf "\nendchoice\n" >> $topdir/target/config/Config.in.appliances
+ cat $topdir/target/appliances/*.appliance >> $topdir/target/config/Config.in.appliances 2>/dev/null
+ printf "\nendchoice\n\n" >> $topdir/target/config/Config.in.appliances
+ printf "menu \"Appliance Options\"\n" >> $topdir/target/config/Config.in.appliances
+ printf "\tvisible if !ADK_CHOOSE_APPLIANCE\n" >> $topdir/target/config/Config.in.appliances
+ cat $topdir/target/appliances/*.options >> $topdir/target/config/Config.in.appliances 2>/dev/null
+ printf "endmenu\n" >> $topdir/target/config/Config.in.appliances
fi
# create system default