diff options
author | Eduardo Minguez <eminguez@redhat.com> | 2014-06-05 15:49:06 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-09-09 13:48:16 +0200 |
commit | 914cfea1f59f4c93c6b41db57f7a32e32ffcbcdc (patch) | |
tree | a177f16199724ba1dade915bce0451ce3d142880 | |
parent | 448d37205222f08eccc580645697d451b3022c86 (diff) | |
download | initscripts-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
-rwxr-xr-x | sysconfig/network-scripts/ifup-wireless | 5 |
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 |