From 8e80f964c1842334dc51f5f9e434d09bda035346 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 27 Feb 2001 17:16:28 +0000 Subject: don't munge wireless keys --- sysconfig/network-scripts/ifup | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sysconfig') 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 -- cgit v1.2.1