aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Minguez <eminguez@redhat.com>2014-06-06 15:57:43 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-09-16 13:13:16 +0200
commit439ec8b6e84b44e9ea29e8b1104d0cf604ba6cd5 (patch)
tree0e76adc2df67302b045a25b4008962e5e5f87db8
parentead8e626830bd8e8742f3e86de6e2c46773c1cc3 (diff)
downloadinitscripts-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-functions5
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 )