summaryrefslogtreecommitdiff
path: root/package/netplug
diff options
context:
space:
mode:
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