diff options
author | Hamish Moffatt <hamish@cloud.net.au> | 2008-03-18 00:20:24 +0000 |
---|---|---|
committer | Hamish Moffatt <hamish@cloud.net.au> | 2008-03-18 00:20:24 +0000 |
commit | aa73d1753056b5abb806c0e10f99672c60599c5c (patch) | |
tree | d25fe9c3db16fb21d9fee8eb10c87586f0483e55 /package/l2tp | |
parent | d97812e3a5ac419ff30bd23e74f555997aeac904 (diff) | |
download | buildroot-novena-aa73d1753056b5abb806c0e10f99672c60599c5c.tar.gz buildroot-novena-aa73d1753056b5abb806c0e10f99672c60599c5c.zip |
Don't use long options to start-stop-daemon as they may be disabled in the busybox configuration
Diffstat (limited to 'package/l2tp')
-rwxr-xr-x | package/l2tp/l2tpd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/l2tp/l2tpd b/package/l2tp/l2tpd index 0b51339f3..8bed72db3 100755 --- a/package/l2tp/l2tpd +++ b/package/l2tp/l2tpd @@ -8,15 +8,15 @@ test -f $DAEMON || exit 0 case "$1" in start) - start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON -- -D & + start-stop-daemon -S -p $PIDFILE -x $DAEMON -- -D & ;; stop) - start-stop-daemon --stop --pidfile $PIDFILE --exec $DAEMON + start-stop-daemon -K -p $PIDFILE -x $DAEMON ;; restart|force-reload) - start-stop-daemon --stop --pidfile $PIDFILE --exec $DAEMON + start-stop-daemon -K -p $PIDFILE -x $DAEMON sleep 1 - start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON + start-stop-daemon -S -p $PIDFILE -x $DAEMON ;; *) echo "Usage: /etc/init.d/l2tdp {start|stop|restart|force-reload}" |