aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-12-20 21:19:49 +0000
committerErik Troan <ewt@redhat.com>2000-12-20 21:19:49 +0000
commitee13586e5205878f407ff031e36d43dd6536fcd0 (patch)
tree5703170e8241c84aa7644199e3c2fd6fb6c627af /sysconfig/network-scripts/ifup
parentc88aa60d716dc0518dcf63df8a1ea342a8c53f3b (diff)
downloadinitscripts-ee13586e5205878f407ff031e36d43dd6536fcd0.tar
initscripts-ee13586e5205878f407ff031e36d43dd6536fcd0.tar.gz
initscripts-ee13586e5205878f407ff031e36d43dd6536fcd0.tar.bz2
initscripts-ee13586e5205878f407ff031e36d43dd6536fcd0.tar.xz
initscripts-ee13586e5205878f407ff031e36d43dd6536fcd0.zip
added wireless support
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 42ddf17c..701a2282 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -46,6 +46,10 @@ else
ISALIAS=no
fi
+if [ -n "${WIRELESS_ENC_KEY}" -a -x /sbin/iwconfig ]; then
+ iwconfig ${DEVICE} enc ${WIRELESS_ENC_KEY}
+fi
+
# Old BOOTP variable
if [ "${BOOTP}" = "yes" ]; then
BOOTPROTO=bootp