Added init script working on Debian Jessie, just copy the file to
/etc/init.d/ndppd. Probably works on current stable as well, but I couldn't test this so far.
This commit is contained in:
parent
13473e5259
commit
caef398f85
21
ndppd-init-debian-jessi
Executable file
21
ndppd-init-debian-jessi
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
|
||||||
|
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
|
||||||
|
set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
|
||||||
|
fi
|
||||||
|
|
||||||
|
### BEGIN INIT INFO
|
||||||
|
# Provides: ndppd
|
||||||
|
# Required-Start: $remote_fs $syslog $network
|
||||||
|
# Required-Stop: $remote_fs $syslog $network
|
||||||
|
# Default-Start: 2 3 4 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
# Short-Description: ndppd init script
|
||||||
|
# Description: NDP Proxy Daemon init script
|
||||||
|
### END INIT INFO
|
||||||
|
# Author: Torben Nehmer <torben+ndppd@nehmer.net>
|
||||||
|
|
||||||
|
DESC="NDP Proxy Daemon"
|
||||||
|
PIDFILE=/run/ndppd.pid
|
||||||
|
DAEMON=/usr/local/sbin/ndppd
|
||||||
|
DAEMON_ARGS="-d -p $PIDFILE"
|
Loading…
x
Reference in New Issue
Block a user