summaryrefslogtreecommitdiffstats
path: root/package/netplug
diff options
context:
space:
mode:
authorHamish Moffatt <hamish@cloud.net.au>2008-03-18 00:20:24 +0000
committerHamish Moffatt <hamish@cloud.net.au>2008-03-18 00:20:24 +0000
commitaa73d1753056b5abb806c0e10f99672c60599c5c (patch)
treed25fe9c3db16fb21d9fee8eb10c87586f0483e55 /package/netplug
parentd97812e3a5ac419ff30bd23e74f555997aeac904 (diff)
downloadbuildroot-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/netplug')
-rwxr-xr-xpackage/netplug/S29netplug4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/netplug/S29netplug b/package/netplug/S29netplug
index 791e14b88..e246674d5 100755
--- a/package/netplug/S29netplug
+++ b/package/netplug/S29netplug
@@ -40,7 +40,7 @@ case "$1" in
start)
# Start daemon.
echo -n $"Starting network plug daemon: "
- start-stop-daemon --start --quiet --pidfile /var/run/netplugd.pid --exec /sbin/netplugd ${NETPLUGDARGS}
+ start-stop-daemon -S -q -p /var/run/netplugd.pid -x /sbin/netplugd ${NETPLUGDARGS}
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/netplugd
@@ -48,7 +48,7 @@ case "$1" in
stop)
# Stop daemon.
echo -n $"Shutting down network plug daemon: "
- start-stop-daemon --stop --name netplugd
+ start-stop-daemon -K -n netplugd
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/netplugd