aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-04-16 22:47:59 +0000
committerBill Nottingham <notting@redhat.com>2007-04-16 22:47:59 +0000
commitbe95f5c7156e838d84738cf9679d93b2de9d92c8 (patch)
tree127fb86f7374b56ee85c6da1923495525cc8a43b /sysconfig/network-scripts
parentd74c1e5ce961db9069151fc9fe6a68294783cbe8 (diff)
downloadinitscripts-be95f5c7156e838d84738cf9679d93b2de9d92c8.tar
initscripts-be95f5c7156e838d84738cf9679d93b2de9d92c8.tar.gz
initscripts-be95f5c7156e838d84738cf9679d93b2de9d92c8.tar.bz2
initscripts-be95f5c7156e838d84738cf9679d93b2de9d92c8.tar.xz
initscripts-be95f5c7156e838d84738cf9679d93b2de9d92c8.zip
- set link up before tweaking wireless parameters (#228253)
Diffstat (limited to 'sysconfig/network-scripts')
-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 b44f77a0..82063955 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