mirror of
https://github.com/gryf/wicd.git
synced 2025-12-23 22:52:33 +01:00
Made the Slackware init script look more like the rest of the Slackware init scripts.
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
# This is defined in /usr/lib/python2.5/site-packages/wicd/wpath.py
|
# This is defined in /usr/lib/python2.5/site-packages/wicd/wpath.py
|
||||||
PIDFILE="%PIDFILE%"
|
PIDFILE="%PIDFILE%"
|
||||||
|
DAEMON="%SBIN%wicd"
|
||||||
|
|
||||||
# Define start and stop functions
|
# Define start and stop functions
|
||||||
|
|
||||||
@@ -15,7 +16,7 @@ wicd_start() {
|
|||||||
echo "$PIDFILE and try again..."
|
echo "$PIDFILE and try again..."
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "Starting wicd daemon..."
|
echo "Starting wicd daemon: $DAEMON"
|
||||||
wicd 2>/dev/null 1>&2
|
wicd 2>/dev/null 1>&2
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user