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

Fix running scripts

Fix broken symlink
Update slackware init script
Add new build options to wpath.py
This commit is contained in:
Dan O'Reilly
2008-12-11 00:29:00 -05:00
parent faf60f6ed3
commit e3c70de4f5
7 changed files with 22 additions and 11 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 /usr/lib/pm-utils/sleep.d/55wicd ]; then
chmod +x /usr/lib/pm-utils/sleep.d/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 /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
@@ -49,3 +58,4 @@ case $1 in
;;
esac