xref: /freebsd/contrib/dialog/samples/menubox9 (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1#!/bin/sh
2# $Id: menubox9,v 1.8 2020/11/26 00:09:12 tom Exp $
3
4. ./setup-vars
5
6exec 3>&1
7returntext=`$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`
23returncode=$?
24exec 3>&-
25
26. ./report-string
27