mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 20:38:00 +01:00
Apply Debian initscript patch from David Paleino.
This commit is contained in:
@@ -18,14 +18,18 @@
|
||||
PATH=/usr/sbin:/usr/bin:/sbin:/bin
|
||||
DESC="Network connection manager"
|
||||
NAME=wicd
|
||||
RUNDIR=/var/run/$NAME
|
||||
DAEMON=%SBIN%$NAME
|
||||
DAEMON_ARGS=""
|
||||
PIDFILE=%PIDFILE%
|
||||
PIDFILE=$RUNDIR/wicd.pid
|
||||
SCRIPTNAME=%INIT%%INITFILENAME%
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
# Create RUNDIR if it doesn't exist
|
||||
[ -d "$RUNDIR" ] || mkdir -p "$RUNDIR"
|
||||
|
||||
# Read configuration variable file if it is present
|
||||
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#
|
||||
# processname: wicd
|
||||
# config:
|
||||
# pidfile: /var/run/wicd.pid
|
||||
# pidfile: %PIDFILE%
|
||||
#
|
||||
# $Id: template.init 9689 2008-03-27 16:15:39Z patrys $
|
||||
|
||||
|
||||
Reference in New Issue
Block a user