diff options
author | Bill Nottingham <notting@redhat.com> | 2001-02-27 17:16:28 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-02-27 17:16:28 +0000 |
commit | 8e80f964c1842334dc51f5f9e434d09bda035346 (patch) | |
tree | d56f82ccf6e11d35a69de4d636daf1fe82f913b5 | |
parent | 34fc2a851146dc042a1140b9451e74f35a0cbc22 (diff) | |
download | initscripts-8e80f964c1842334dc51f5f9e434d09bda035346.tar initscripts-8e80f964c1842334dc51f5f9e434d09bda035346.tar.gz initscripts-8e80f964c1842334dc51f5f9e434d09bda035346.tar.bz2 initscripts-8e80f964c1842334dc51f5f9e434d09bda035346.tar.xz initscripts-8e80f964c1842334dc51f5f9e434d09bda035346.zip |
don't munge wireless keys
-rwxr-xr-x | sysconfig/network-scripts/ifup | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index a94947e3..c928546f 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -48,10 +48,6 @@ else ISALIAS=no fi -if [ -n "${WIRELESS_ENC_KEY}" -a -x /sbin/iwconfig ]; then - iwconfig ${DEVICE} enc ${WIRELESS_ENC_KEY} >/dev/null 2>&1 -fi - # Old BOOTP variable if [ "${BOOTP}" = "yes" ]; then BOOTPROTO=bootp @@ -95,7 +91,7 @@ fi # Is there a firewall running, and does it look like one we configured? FWACTIVE= -if [ -f /etc/sysconfig/ipchains -a "`ipchains -L input -n 2>&1 | awk 'END { print NR }'`" -gt 1 ]; then +if [ -f /etc/sysconfig/ipchains -a "`ipchains -L input -n 2>&1 | awk 'END { print NR }'`" -gt 1 ] && grep -q "^# ipchains configuration written by lokkit" /etc/sysconfig/ipchains ; then FWACTIVE=1 export FWACTIVE fi |