summaryrefslogtreecommitdiff
path: root/pm/power.d/disable_wol
diff options
context:
space:
mode:
Diffstat (limited to 'pm/power.d/disable_wol')
-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