diff options
author | Bill Nottingham <notting@redhat.com> | 2000-12-26 05:27:04 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-12-26 05:27:04 +0000 |
commit | bf8548076b36a2c22eb5d73ec3beb850a927e6aa (patch) | |
tree | ee4b68c3b1f9486d69daad23846630161af98bcc /sysconfig | |
parent | ee13586e5205878f407ff031e36d43dd6536fcd0 (diff) | |
download | initscripts-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')
-rwxr-xr-x | sysconfig/network-scripts/ifdown | 2 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup | 2 |
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 |