summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-29 20:39:53 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-29 20:39:53 (EDT)
commitc4a7b3c1e0d87b004b9a64379bf3da0102aaee08 (patch)
treede0f4a1cd7c5639079ab6a87ebc5210cbe17605e
parentb3d53a7d7c7adbd547cd51b246bc19173466885d (diff)
Really fix start-stop-daemon calls.
-rwxr-xr-xsrc/etc/init.d/syslog9
-rwxr-xr-xsrc/etc/init.d/telnetd4
2 files changed, 7 insertions, 6 deletions
diff --git a/src/etc/init.d/syslog b/src/etc/init.d/syslog
index 77e56d0..86e9a93 100755
--- a/src/etc/init.d/syslog
+++ b/src/etc/init.d/syslog
@@ -5,18 +5,19 @@ SYSLOG_ROTATE_SIZE=65536
case "${1}" in
start)
printf 'Starting syslog... '
- start-stop-daemon -S -n syslogd -- syslogd -m 0 -s "${SYSLOG_ROTATE_SIZE}" -L
+ start-stop-daemon -S -q -n syslogd -x syslogd -- \
+ -m 0 -s "${SYSLOG_ROTATE_SIZE}" -L
printf 'done.'
printf 'Starting klogd... '
- start-stop-daemon -S -n klogd -- klogd
+ start-stop-daemon -S -q -n klogd -x klogd
printf 'done.'
;;
stop)
printf 'Stopping klogd... '
- start-stop-daemon -K -n klogd
+ start-stop-daemon -K -q -n klogd
printf 'done.'
printf 'Stopping syslog... '
- start-stop-daemon -K -n syslogd
+ start-stop-daemon -K -q -n syslogd
printf 'done.'
;;
restart)
diff --git a/src/etc/init.d/telnetd b/src/etc/init.d/telnetd
index 791e350..be9043b 100755
--- a/src/etc/init.d/telnetd
+++ b/src/etc/init.d/telnetd
@@ -3,12 +3,12 @@
case "${1}" in
start)
printf 'Starting telnetd...'
- start-stop-daemon -S -n telnetd -- telnetd
+ start-stop-daemon -S -q -n telnetd -x telnetd
printf 'done.'
;;
stop)
printf 'Stopping telnetd... '
- start-stop-daemon -K -n telnetd
+ start-stop-daemon -K -q -n telnetd
printf 'done.'
;;
restart)