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/mdnsresponder/rc.mdnsresponder | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'package/mdnsresponder') diff --git a/package/mdnsresponder/rc.mdnsresponder b/package/mdnsresponder/rc.mdnsresponder index 1b08cf06e..4b3c31203 100644 --- a/package/mdnsresponder/rc.mdnsresponder +++ b/package/mdnsresponder/rc.mdnsresponder @@ -7,8 +7,8 @@ umask 077 start() { echo -n "Starting mdnsd: " - start-stop-daemon --start --quiet --pidfile /var/run/mdnsd.pid \ - --exec /usr/sbin/mdnsd + start-stop-daemon -S -q -p /var/run/mdnsd.pid \ + -x /usr/sbin/mdnsd if [ "$?" != "0" ] ; then echo "FAIL" return 1 @@ -16,8 +16,8 @@ start() { echo "OK" echo -n "Starting mDNSResponderPosix: " - start-stop-daemon --start --quiet --pidfile /var/run/mDNSResponderPosix.pid \ - --exec /usr/sbin/mDNSResponderPosix \ + start-stop-daemon -S -q -p /var/run/mDNSResponderPosix.pid \ + -x /usr/sbin/mDNSResponderPosix \ -- -b -f /etc/mDNSResponderPosix.conf -P /var/run/mDNSResponderPosix.pid if [ "$?" != "0" ] ; then echo "FAIL" @@ -27,7 +27,7 @@ start() { } stop() { echo -n "Stopping mDNSResponderPosix: " - start-stop-daemon --stop --quiet --pidfile /var/run/mDNSResponderPosix.pid + start-stop-daemon -K -q -p /var/run/mDNSResponderPosix.pid if [ "$?" != "0" ] ; then echo "FAIL" return 1 @@ -35,7 +35,7 @@ stop() { echo "OK" echo -n "Stopping mdnsd: " - start-stop-daemon --stop --quiet --pidfile /var/run/mdnsd.pid + start-stop-daemon -K -q -p /var/run/mdnsd.pid if [ "$?" != "0" ] ; then echo "FAIL" return 1 -- cgit v1.2.3