]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/dialog/samples/menubox9
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / dialog / samples / menubox9
1 #!/bin/sh
2 # $Id: menubox9,v 1.6 2010/01/13 10:20:03 tom Exp $
3
4 . ./setup-vars
5
6 exec 3>&1
7 RESULT=`$DIALOG --help-button \
8         --clear \
9         --title "Select Linux installation partition:" "$@" \
10         --menu \
11 "Please select a partition from the following list to use for your \
12 root (/) Linux partition." 13 70 5 \
13 "/dev/hda2" "Linux native 30724312K" \
14 "/dev/hda4" "Linux native 506047K" \
15 "/dev/hdb1" "Linux native 4096543K" \
16 "/dev/hdb2" "Linux native 2586465K" \
17 "---" "(add none, continue with setup)" \
18 "---" "(add none, continue with setup)" \
19 "---" "(add none, continue with setup)" \
20 "---" "(add none, continue with setup)" \
21 "---" "(add none, continue with setup)" \
22 2>&1 1>&3`
23 retval=$?
24 exec 3>&-
25
26 . ./report-string