aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-04-16 22:46:13 +0000
committerBill Nottingham <notting@redhat.com>2007-04-16 22:46:13 +0000
commit90cb0612911174949c03b7405bb6d8bd42322055 (patch)
treeaef34201fa65548b964fbcb4fa4ae3efe7a13168 /sysconfig
parent37211f2227672cd079548c3eacbebc238646f00f (diff)
downloadinitscripts-90cb0612911174949c03b7405bb6d8bd42322055.tar
initscripts-90cb0612911174949c03b7405bb6d8bd42322055.tar.gz
initscripts-90cb0612911174949c03b7405bb6d8bd42322055.tar.bz2
initscripts-90cb0612911174949c03b7405bb6d8bd42322055.tar.xz
initscripts-90cb0612911174949c03b7405bb6d8bd42322055.zip
set link up before itweaking wireless parameters (#228253)
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-wireless3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-wireless b/sysconfig/network-scripts/ifup-wireless
index 32bd1423..2da366c6 100755
--- a/sysconfig/network-scripts/ifup-wireless
+++ b/sysconfig/network-scripts/ifup-wireless
@@ -30,6 +30,9 @@
# Only meant to be called from ifup.
+# Set link up (some cards require this.)
+/sbin/ip link set dev ${DEVICE} up
+
# Mode need to be first : some settings apply only in a specific mode !
if [ -n "$MODE" ] ; then
iwconfig $DEVICE mode $MODE