aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsysconfig/network-scripts/ifdown2
-rwxr-xr-xsysconfig/network-scripts/ifup2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index 60b778c7..3130429f 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -54,7 +54,7 @@ done
# don't leave an outdated key sitting around
if [ -n "${WIRELESS_ENC_KEY}" -a -x /sbin/iwconfig ]; then
- /sbin/iwconfig ${DEVICE} enc 0
+ /sbin/iwconfig ${DEVICE} enc 0 >/dev/null 2>&1
fi
if [ "$retcode" = 0 ] ; then
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 701a2282..aa061a87 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -47,7 +47,7 @@ else
fi
if [ -n "${WIRELESS_ENC_KEY}" -a -x /sbin/iwconfig ]; then
- iwconfig ${DEVICE} enc ${WIRELESS_ENC_KEY}
+ iwconfig ${DEVICE} enc ${WIRELESS_ENC_KEY} >/dev/null 2>&1
fi
# Old BOOTP variable