diff options
author | Eduardo Minguez <eminguez@redhat.com> | 2014-06-06 15:57:43 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-06-06 15:57:43 +0200 |
commit | 21582e369e99c4056272c039705effff715bca6c (patch) | |
tree | 43411a4cf44e401c12ce48fc6b8f6d495dc268da /sysconfig/network-scripts | |
parent | 05f521938fc56308077f0f58a38ebe3a0c7ffaad (diff) | |
download | initscripts-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-functions | 5 |
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 ) |