1
0
mirror of https://github.com/gryf/wicd.git synced 2026-04-02 19:03:32 +02:00

merging in a bunch of trunk changes

This commit is contained in:
Dan O'Reilly
2008-12-07 21:15:29 -05:00
parent a6acb8a661
commit 46bbde7745
8 changed files with 79 additions and 25 deletions

View File

@@ -17,6 +17,10 @@ wicd_start() {
else
echo "Starting wicd daemon..."
wicd 2>/dev/null 1>&2
# Activate the pm-utils sleep hook
if [ ! -x %PMUTILS%55wicd ]; then
chmod +x %PMUTILS%55wicd
fi
fi
}
@@ -28,6 +32,11 @@ wicd_stop() {
else
pkill -f python.*wicd-daemon.py 2>/dev/null
fi
# Deactivate the pm-utils sleep hook
if [ -x %PMUTILS%55wicd ]; then
chmod -x %PMUTILS%55wicd
fi
}
# See how we were called and take appropriate action
@@ -49,3 +58,4 @@ case $1 in
;;
esac