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/sysklogd/S25syslog | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package/sysklogd') diff --git a/package/sysklogd/S25syslog b/package/sysklogd/S25syslog index 07683ed2f..793ac6129 100755 --- a/package/sysklogd/S25syslog +++ b/package/sysklogd/S25syslog @@ -9,20 +9,20 @@ umask 077 start() { echo -n "Starting syslogd: " - start-stop-daemon --start --quiet --pidfile /var/run/syslog.pid --exec /sbin/syslogd -- -m 0 + start-stop-daemon -S -q -p /var/run/syslog.pid -x /sbin/syslogd -- -m 0 echo "OK" echo -n "Starting klogd: " - start-stop-daemon --start --quiet --pidfile /var/run/klogd.pid --exec /sbin/klogd + start-stop-daemon -S -q -p /var/run/klogd.pid -x /sbin/klogd echo "OK" } stop() { echo -n "Stopping klogd: " - start-stop-daemon --stop --name klogd + start-stop-daemon -K -n klogd echo "OK" echo -n "Stopping syslogd: " - start-stop-daemon --stop --name syslogd + start-stop-daemon -K -n syslogd echo "OK" } restart() { -- cgit v1.2.3