xref: /freebsd/contrib/dialog/samples/menubox9 (revision 63a938566d524836885917d95bd491aa4400b181)
1#!/bin/sh
2# $Id: menubox9,v 1.6 2010/01/13 10:20:03 tom Exp $
3
4. ./setup-vars
5
6exec 3>&1
7RESULT=`$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 \
12root (/) 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)" \
222>&1 1>&3`
23retval=$?
24exec 3>&-
25
26. ./report-string
27