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/mdnsresponder/rc.mdnsresponder | |
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/mdnsresponder/rc.mdnsresponder')
-rw-r--r-- | package/mdnsresponder/rc.mdnsresponder | 12 |
1 files changed, 6 insertions, 6 deletions
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 |