aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorEduardo Minguez <eminguez@redhat.com>2014-06-06 15:57:43 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-06-06 15:57:43 +0200
commit21582e369e99c4056272c039705effff715bca6c (patch)
tree43411a4cf44e401c12ce48fc6b8f6d495dc268da /sysconfig/network-scripts
parent05f521938fc56308077f0f58a38ebe3a0c7ffaad (diff)
downloadinitscripts-21582e369e99c4056272c039705effff715bca6c.tar
initscripts-21582e369e99c4056272c039705effff715bca6c.tar.gz
initscripts-21582e369e99c4056272c039705effff715bca6c.tar.bz2
initscripts-21582e369e99c4056272c039705effff715bca6c.tar.xz
initscripts-21582e369e99c4056272c039705effff715bca6c.zip
ifup-wireless: add support for wowlan (second part)
Diffstat (limited to 'sysconfig/network-scripts')
-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 68c042ee..5eaa5ba2 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -424,6 +424,11 @@ is_wireless_device ()
[ -d "/sys/class/net/$1/wireless" ]
}
+phy_wireless_device ()
+{
+ cat /sys/class/net/$1/phy80211/name
+}
+
install_bonding_driver ()
{
[ ! -f /sys/class/net/bonding_masters ] && ( modprobe bonding || return 1 )