1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-08 06:44:20 +01:00

Fixup pm-utils hook to return proper exit codes and fix logging.

This commit is contained in:
Robby Workman
2008-12-27 00:37:03 -06:00
parent d0918cb0b8
commit ad6ddbfbae

View File

@@ -7,15 +7,13 @@
wicd_suspend() wicd_suspend()
{ {
# Put wifi interface down # Put wifi interface down
%LIB%suspend.py 2>/dev/null %LIB%suspend.py 2>/dev/null || return $NA
return $NA
} }
wicd_resume() wicd_resume()
{ {
# Bring wifi interface back up # Bring wifi interface back up
%LIB%autoconnect.py 2>/dev/null %LIB%autoconnect.py 2>/dev/null || return $NA
return $NA
} }
case "$1" in case "$1" in