diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2015-10-16 09:54:46 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2015-10-16 09:54:46 +0200 |
commit | 0f5fb4820a5173934a4d7c98d88037ccad21f3f1 (patch) | |
tree | 1b68938029cbc4fceedfb410d2b1fa9e20058d98 /sysconfig/network-scripts | |
parent | be40a46a55b6e53a02c4824da68fd7d2f96c2fc6 (diff) | |
download | initscripts-0f5fb4820a5173934a4d7c98d88037ccad21f3f1.tar initscripts-0f5fb4820a5173934a4d7c98d88037ccad21f3f1.tar.gz initscripts-0f5fb4820a5173934a4d7c98d88037ccad21f3f1.tar.bz2 initscripts-0f5fb4820a5173934a4d7c98d88037ccad21f3f1.tar.xz initscripts-0f5fb4820a5173934a4d7c98d88037ccad21f3f1.zip |
ifup-wireless: fix calling of phy_wireless_device
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup-wireless | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-wireless b/sysconfig/network-scripts/ifup-wireless index 0628860d..99651004 100755 --- a/sysconfig/network-scripts/ifup-wireless +++ b/sysconfig/network-scripts/ifup-wireless @@ -26,6 +26,9 @@ # Only meant to be called from ifup. +cd /etc/sysconfig/network-scripts +. ./network-functions + IW=${IW:-iw} [ "$KEY" ] && KEYS="key d:0:$KEY" @@ -54,6 +57,6 @@ monitor) esac if [ -n "$WOWLAN" ] ; then - PHYDEVICE=phy_wireless_device $DEVICE + PHYDEVICE=$(phy_wireless_device $DEVICE) iw phy $PHYDEVICE wowlan enable ${WOWLAN} fi |