1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-29 01:42:33 +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()
{
# Put wifi interface down
%LIB%suspend.py 2>/dev/null
return $NA
%LIB%suspend.py 2>/dev/null || return $NA
}
wicd_resume()
{
# Bring wifi interface back up
%LIB%autoconnect.py 2>/dev/null
return $NA
%LIB%autoconnect.py 2>/dev/null || return $NA
}
case "$1" in