aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-12-26 05:27:04 +0000
committerBill Nottingham <notting@redhat.com>2000-12-26 05:27:04 +0000
commitbf8548076b36a2c22eb5d73ec3beb850a927e6aa (patch)
treeee4b68c3b1f9486d69daad23846630161af98bcc /sysconfig/network-scripts/ifdown
parentee13586e5205878f407ff031e36d43dd6536fcd0 (diff)
downloadinitscripts-bf8548076b36a2c22eb5d73ec3beb850a927e6aa.tar
initscripts-bf8548076b36a2c22eb5d73ec3beb850a927e6aa.tar.gz
initscripts-bf8548076b36a2c22eb5d73ec3beb850a927e6aa.tar.bz2
initscripts-bf8548076b36a2c22eb5d73ec3beb850a927e6aa.tar.xz
initscripts-bf8548076b36a2c22eb5d73ec3beb850a927e6aa.zip
toss out spurious errors from iwconfig
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-xsysconfig/network-scripts/ifdown2
1 files changed, 1 insertions, 1 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