summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/etc/init.d/syslog8
-rwxr-xr-xsrc/etc/init.d/telnetd4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/etc/init.d/syslog b/src/etc/init.d/syslog
index 4979ce6..77e56d0 100755
--- a/src/etc/init.d/syslog
+++ b/src/etc/init.d/syslog
@@ -5,18 +5,18 @@ SYSLOG_ROTATE_SIZE=65536
case "${1}" in
start)
printf 'Starting syslog... '
- start-stop-daemon -S syslogd -m 0 -s "${SYSLOG_ROTATE_SIZE}" -L
+ start-stop-daemon -S -n syslogd -- syslogd -m 0 -s "${SYSLOG_ROTATE_SIZE}" -L
printf 'done.'
printf 'Starting klogd... '
- start-stop-daemon -S klogd
+ start-stop-daemon -S -n klogd -- klogd
printf 'done.'
;;
stop)
printf 'Stopping klogd... '
- start-stop-daemon -K klogd
+ start-stop-daemon -K -n klogd
printf 'done.'
printf 'Stopping syslog... '
- start-stop-daemon -K syslogd
+ start-stop-daemon -K -n syslogd
printf 'done.'
;;
restart)
diff --git a/src/etc/init.d/telnetd b/src/etc/init.d/telnetd
index fba389c..791e350 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 telnetd
+ start-stop-daemon -S -n telnetd -- telnetd
printf 'done.'
;;
stop)
printf 'Stopping telnetd... '
- start-stop-daemon -K telnetd
+ start-stop-daemon -K -n telnetd
printf 'done.'
;;
restart)