From aa73d1753056b5abb806c0e10f99672c60599c5c Mon Sep 17 00:00:00 2001 From: Hamish Moffatt Date: Tue, 18 Mar 2008 00:20:24 +0000 Subject: Don't use long options to start-stop-daemon as they may be disabled in the busybox configuration --- package/l2tp/l2tpd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package/l2tp') 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}" -- cgit v1.2.3