aboutsummaryrefslogtreecommitdiff
path: root/netcfg
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2006-06-30 15:54:33 +0000
committerJudd Vinet <judd@archlinux.org>2006-06-30 15:54:33 +0000
commit4d91b544b6f666a12b84f82576b4309622806e83 (patch)
tree0e4714c0ff9a2fbd9e77c784e0b8c16cbe6326c0 /netcfg
parent09bb556bf07b89130d27dc137190ff354beadecc (diff)
downloadinitscripts-4d91b544b6f666a12b84f82576b4309622806e83.tar.xz
Fixed --menu when using gpm (#4916)
Diffstat (limited to 'netcfg')
-rwxr-xr-xnetcfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/netcfg b/netcfg
index d070dc2..f58bfbf 100755
--- a/netcfg
+++ b/netcfg
@@ -222,18 +222,20 @@ menu()
if [ "$TIMEOUT" != "" ]; then
dialog \
+ --output-fd 1 \
--timeout $TIMEOUT \
--default-item $DEFAULT \
--menu "Select the network profile you wish to use\n\n (timeout in $TIMEOUT seconds)" \
13 50 6 \
- "${profiles[@]}" 2>$ANSWER
+ "${profiles[@]}" >$ANSWER
ret=$?
else
dialog \
+ --output-fd 1 \
--default-item $DEFAULT \
--menu "Select the network profile you wish to use" \
13 50 6 \
- "${profiles[@]}" 2>$ANSWER
+ "${profiles[@]}" >$ANSWER
ret=$?
fi