1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-28 01:12:34 +01:00

Fix saving scripts not working correctly.

This commit is contained in:
Dan O'Reilly
2008-12-13 13:28:05 -05:00
parent 69b011a1e7
commit 6e4d70c4ea
4 changed files with 21 additions and 13 deletions

View File

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