summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-setup')
-rwxr-xr-xnet-setup6
1 files changed, 0 insertions, 6 deletions
diff --git a/net-setup b/net-setup
index cde3ba6..4216787 100755
--- a/net-setup
+++ b/net-setup
@@ -201,9 +201,6 @@ fi
livecd_check_root || exit 1
-# Hide any potential error messages from the readlink/dirname/etc calls below
-exec 2>/dev/null
-
if [ -z "${1}" ]
then
show_ifmenu
@@ -221,9 +218,6 @@ while true; do
show_ifmenu
done
-# Show stderr again
-exec 2>/dev/stderr
-
dialog --visit-items --title "Network setup" --menu "This script is designed to setup both wired and wireless network settings. All questions below apply to the ${iface} interface only. Choose one option:" 20 60 7 1 "My network is wireless" 2 "My network is wired" 2> ${iface}.WIRED_WIRELESS
WIRED_WIRELESS=$(tail -n 1 ${iface}.WIRED_WIRELESS)
case ${WIRED_WIRELESS} in