diff options
author | Eduardo Minguez <eminguez@redhat.com> | 2014-06-05 15:49:06 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-09-16 13:13:10 +0200 |
commit | ead8e626830bd8e8742f3e86de6e2c46773c1cc3 (patch) | |
tree | ef550f650d6ba790742ba9289b27e139ec05c8d6 /sysconfig | |
parent | 45b2a9b026f15d700e9094163395ad4d32b328b0 (diff) | |
download | initscripts-ead8e626830bd8e8742f3e86de6e2c46773c1cc3.tar initscripts-ead8e626830bd8e8742f3e86de6e2c46773c1cc3.tar.gz initscripts-ead8e626830bd8e8742f3e86de6e2c46773c1cc3.tar.bz2 initscripts-ead8e626830bd8e8742f3e86de6e2c46773c1cc3.tar.xz initscripts-ead8e626830bd8e8742f3e86de6e2c46773c1cc3.zip |
ifup-wireless: add support for wowlan
Conflicts:
sysconfig/network-scripts/ifup-wireless
Diffstat (limited to 'sysconfig')
-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 3b248cca..70e84a21 100755 --- a/sysconfig/network-scripts/ifup-wireless +++ b/sysconfig/network-scripts/ifup-wireless @@ -49,3 +49,8 @@ monitor) $IW dev "$DEVICE" set type monitor $IW dev "$DEVICE" set freq "$FREQ" esac + +if [ -n "$WOWLAN" ] ; then + PHYDEVICE=phy_wireless_device $DEVICE + iw phy $PHYDEVICE wowlan enable ${WOWLAN} +fi |