From 914cfea1f59f4c93c6b41db57f7a32e32ffcbcdc Mon Sep 17 00:00:00 2001 From: Eduardo Minguez Date: Thu, 5 Jun 2014 15:49:06 +0200 Subject: ifup-wireless: add support for wowlan Conflicts: sysconfig/network-scripts/ifup-wireless --- sysconfig/network-scripts/ifup-wireless | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.1