aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2013-01-06 17:09:35 +0000
committerColin Guthrie <colin@mageia.org>2013-01-06 17:09:35 +0000
commit956d29796f6be1ced6723d377e2b08fafbe3a48a (patch)
tree7b65e920222026b0520deee82f54f4ae52d0aaf5
parentd334bb5f94719be9b7bd31adc3672817caec7fc4 (diff)
downloadinitscripts-956d29796f6be1ced6723d377e2b08fafbe3a48a.tar
initscripts-956d29796f6be1ced6723d377e2b08fafbe3a48a.tar.gz
initscripts-956d29796f6be1ced6723d377e2b08fafbe3a48a.tar.bz2
initscripts-956d29796f6be1ced6723d377e2b08fafbe3a48a.tar.xz
initscripts-956d29796f6be1ced6723d377e2b08fafbe3a48a.zip
Add back check for wireless sysfs dir (mga#8343)
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index dae790ad..fd6572ba 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -437,7 +437,7 @@ add_default_route ()
is_wireless_device ()
{
- [ -d "/sys/class/net/$1/phy80211" ]
+ [ -d "/sys/class/net/$1/wireless" -o -d "/sys/class/net/$1/phy80211" ]
}
install_bonding_driver ()