diff options
author | Eduardo Minguez <eminguez@redhat.com> | 2014-06-06 15:57:43 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-09-09 13:46:57 +0200 |
commit | 448d37205222f08eccc580645697d451b3022c86 (patch) | |
tree | 1ea7cf3ce3d789e67b31be620503a2f94162cc72 /sysconfig | |
parent | 832668b72dac67bc550a13b3275855b31a7236f6 (diff) | |
download | initscripts-448d37205222f08eccc580645697d451b3022c86.tar initscripts-448d37205222f08eccc580645697d451b3022c86.tar.gz initscripts-448d37205222f08eccc580645697d451b3022c86.tar.bz2 initscripts-448d37205222f08eccc580645697d451b3022c86.tar.xz initscripts-448d37205222f08eccc580645697d451b3022c86.zip |
ifup-wireless: add support for wowlan (second part)
Diffstat (limited to 'sysconfig')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 8a9028fc..b7339947 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -432,6 +432,11 @@ is_wireless_device () return 1 } +phy_wireless_device () +{ + cat /sys/class/net/$1/phy80211/name +} + install_bonding_driver () { [ ! -f /sys/class/net/bonding_masters ] && ( modprobe bonding || return 1 ) |