PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/dialog/samples/menubox9

https://bitbucket.org/freebsd/freebsd-head/
Shell | 26 lines | 21 code | 3 blank | 2 comment | 1 complexity | ae7f7f8a1756b5243db8631cb1a0c122 MD5 | raw file
 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