summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2010-06-19 18:20:14 -0500
committerVictor Lowther <victor.lowther@gmail.com>2010-06-19 18:20:14 -0500
commit9b06ee14de8ec8e72d7c1c12d380fcca609caa73 (patch)
treee290dea1355a77816561f3a52f2f922d13642d5d
parent646a20af9b48d1bb4630f237a345e82ffb2921b5 (diff)
Oops, stop worrying about disabling wake on lan for wireless.
-rw-r--r--pm/power.d/disable_wol2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/power.d/disable_wol b/pm/power.d/disable_wol
index 027eec5..ab4dda9 100644
--- a/pm/power.d/disable_wol
+++ b/pm/power.d/disable_wol
@@ -6,7 +6,7 @@ command_exists ethtool || exit $NA
set_wol_status() {
for d in "/sys/class/net/"*; do
- [ -f "$d/wireless" ] && continue
+ [ -e "$d/wireless" ] && continue
[ -h "$d/device/driver" ] || continue
printf "Setting Wake On Lan for %s to %s..." "${d##*/}" "$1"
case $1 in