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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user