mirror of
https://github.com/gryf/wicd.git
synced 2026-03-02 14:45:51 +01:00
Fix another code separation-induced problem. Thanks to Robby Workman.
This commit is contained in:
@@ -16,14 +16,14 @@ RETVAL=0 # Set this to 0 initially
|
|||||||
wicd_suspend()
|
wicd_suspend()
|
||||||
{
|
{
|
||||||
# Put wifi interface down
|
# Put wifi interface down
|
||||||
%LIB%suspend.py 1>/dev/null 2>/dev/null
|
%DAEMON%suspend.py 1>/dev/null 2>/dev/null
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
}
|
}
|
||||||
|
|
||||||
wicd_resume()
|
wicd_resume()
|
||||||
{
|
{
|
||||||
# Bring wifi interface back up
|
# Bring wifi interface back up
|
||||||
%LIB%autoconnect.py 1>/dev/null 2>/dev/null
|
%DAEMON%autoconnect.py 1>/dev/null 2>/dev/null
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user