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/sysklogd/S25syslog | |
parent | d97812e3a5ac419ff30bd23e74f555997aeac904 (diff) |
Don't use long options to start-stop-daemon as they may be disabled in the busybox configuration
Diffstat (limited to 'package/sysklogd/S25syslog')
-rwxr-xr-x | package/sysklogd/S25syslog | 8 |
1 files changed, 4 insertions, 4 deletions
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() { |