aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-02-27 17:16:28 +0000
committerBill Nottingham <notting@redhat.com>2001-02-27 17:16:28 +0000
commit8e80f964c1842334dc51f5f9e434d09bda035346 (patch)
treed56f82ccf6e11d35a69de4d636daf1fe82f913b5 /sysconfig/network-scripts/ifup
parent34fc2a851146dc042a1140b9451e74f35a0cbc22 (diff)
downloadinitscripts-8e80f964c1842334dc51f5f9e434d09bda035346.tar
initscripts-8e80f964c1842334dc51f5f9e434d09bda035346.tar.gz
initscripts-8e80f964c1842334dc51f5f9e434d09bda035346.tar.bz2
initscripts-8e80f964c1842334dc51f5f9e434d09bda035346.tar.xz
initscripts-8e80f964c1842334dc51f5f9e434d09bda035346.zip
don't munge wireless keys
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup6
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