summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-06-19 19:48:57 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-06-19 19:48:57 +0200
commit7b8f5c09bc96c7da27090069d17c17c09de057dd (patch)
tree5ce91899343bb9d8c504b2989f800d16426a6e4a /contrib
parent98cb302516f780199c11eb2f45ff48c0a17fd7a1 (diff)
downloadnetctl-7b8f5c09bc96c7da27090069d17c17c09de057dd.tar.gz
netctl-7b8f5c09bc96c7da27090069d17c17c09de057dd.tar.xz
pm-utils.handler: temporarily hack a syntax error
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/pm-utils.handler2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pm-utils.handler b/contrib/pm-utils.handler
index 80f2d4c..b8cb568 100755
--- a/contrib/pm-utils.handler
+++ b/contrib/pm-utils.handler
@@ -32,7 +32,7 @@ case "$1" in
fi
;;
thaw|resume)
- if "$CONN_DIR/wireless" query wlan0 enabled; then
+ if [ -f "$STATE_DIR/interface/wlan0" ]; then
report_notify "resuming all interfaces..."
auto_resume wlan0
else