diff options
author | Eduardo Minguez <eminguez@redhat.com> | 2014-06-06 15:57:43 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-09-16 13:13:16 +0200 |
commit | 439ec8b6e84b44e9ea29e8b1104d0cf604ba6cd5 (patch) | |
tree | 0e76adc2df67302b045a25b4008962e5e5f87db8 | |
parent | ead8e626830bd8e8742f3e86de6e2c46773c1cc3 (diff) | |
download | initscripts-439ec8b6e84b44e9ea29e8b1104d0cf604ba6cd5.tar initscripts-439ec8b6e84b44e9ea29e8b1104d0cf604ba6cd5.tar.gz initscripts-439ec8b6e84b44e9ea29e8b1104d0cf604ba6cd5.tar.bz2 initscripts-439ec8b6e84b44e9ea29e8b1104d0cf604ba6cd5.tar.xz initscripts-439ec8b6e84b44e9ea29e8b1104d0cf604ba6cd5.zip |
ifup-wireless: add support for wowlan (second part)
-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 50aeade5..04fde504 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -450,6 +450,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 ) |