summaryrefslogtreecommitdiff
path: root/Build/source/utils/dialog/dialog-1.1-20080819/samples/menubox9
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/dialog/dialog-1.1-20080819/samples/menubox9')
-rwxr-xr-xBuild/source/utils/dialog/dialog-1.1-20080819/samples/menubox939
1 files changed, 0 insertions, 39 deletions
diff --git a/Build/source/utils/dialog/dialog-1.1-20080819/samples/menubox9 b/Build/source/utils/dialog/dialog-1.1-20080819/samples/menubox9
deleted file mode 100755
index 9f46a16bebb..00000000000
--- a/Build/source/utils/dialog/dialog-1.1-20080819/samples/menubox9
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-# $Id: menubox9,v 1.1 2003/09/23 23:02:08 tom Exp $
-: ${DIALOG=dialog}
-
-exec 3>&1
-value=`$DIALOG --help-button \
- --clear \
- --title "Select Linux installation partition:" \
- --menu \
-"Please select a partition from the following list to use for your \
-root (/) Linux partition." 13 70 5 \
-"/dev/hda2" "Linux native 30724312K" \
-"/dev/hda4" "Linux native 506047K" \
-"/dev/hdb1" "Linux native 4096543K" \
-"/dev/hdb2" "Linux native 2586465K" \
-"---" "(add none, continue with setup)" \
-"---" "(add none, continue with setup)" \
-"---" "(add none, continue with setup)" \
-"---" "(add none, continue with setup)" \
-"---" "(add none, continue with setup)" \
-2>&1 1>&3`
-retval=$?
-exec 3>&-
-
-case $retval in
- 0)
- echo "$value chosen.";;
- 1)
- echo "Cancel pressed.";;
- 2)
- echo "Help pressed ($value)";;
- 255)
- if test -n "$value" ; then
- echo "$value"
- else
- echo "ESC pressed."
- fi
- ;;
-esac