aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorEduardo Minguez <eminguez@redhat.com>2014-06-05 15:49:06 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-09-09 13:48:16 +0200
commit914cfea1f59f4c93c6b41db57f7a32e32ffcbcdc (patch)
treea177f16199724ba1dade915bce0451ce3d142880 /sysconfig
parent448d37205222f08eccc580645697d451b3022c86 (diff)
downloadinitscripts-914cfea1f59f4c93c6b41db57f7a32e32ffcbcdc.tar
initscripts-914cfea1f59f4c93c6b41db57f7a32e32ffcbcdc.tar.gz
initscripts-914cfea1f59f4c93c6b41db57f7a32e32ffcbcdc.tar.bz2
initscripts-914cfea1f59f4c93c6b41db57f7a32e32ffcbcdc.tar.xz
initscripts-914cfea1f59f4c93c6b41db57f7a32e32ffcbcdc.zip
ifup-wireless: add support for wowlan
Conflicts: sysconfig/network-scripts/ifup-wireless
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-wireless5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-wireless b/sysconfig/network-scripts/ifup-wireless
index e8d52f6f..0628860d 100755
--- a/sysconfig/network-scripts/ifup-wireless
+++ b/sysconfig/network-scripts/ifup-wireless
@@ -52,3 +52,8 @@ monitor)
fi
;;
esac
+
+if [ -n "$WOWLAN" ] ; then
+ PHYDEVICE=phy_wireless_device $DEVICE
+ iw phy $PHYDEVICE wowlan enable ${WOWLAN}
+fi