From ee13586e5205878f407ff031e36d43dd6536fcd0 Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Wed, 20 Dec 2000 21:19:49 +0000 Subject: added wireless support --- sysconfig/network-scripts/ifup | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysconfig/network-scripts/ifup') 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 -- cgit v1.2.1