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