diff options
-rwxr-xr-x | scripts/telnetd.init | 9 | ||||
-rw-r--r-- | sysconf/rsyslog.conf | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/scripts/telnetd.init b/scripts/telnetd.init index b8368f03..81dc2f76 100755 --- a/scripts/telnetd.init +++ b/scripts/telnetd.init @@ -1,5 +1,14 @@ #! /bin/bash +### BEGIN INIT INFO +# Provides: telnetd +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: +# Default-Stop: +# Short-Description: Busybox telnet daemon +### END INIT INFO + declare progname=${0##*/} declare action=$1; shift diff --git a/sysconf/rsyslog.conf b/sysconf/rsyslog.conf index 9d767d90..919df901 100644 --- a/sysconf/rsyslog.conf +++ b/sysconf/rsyslog.conf @@ -12,6 +12,8 @@ $ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support (previously done by rklogd) #$ModLoad immark # provides --MARK-- message capability +$KLogPath /proc/kmsg + # provides UDP syslog reception #$ModLoad imudp #$UDPServerRun 514 @@ -31,6 +33,9 @@ $ModLoad imklog # provides kernel logging support (previously done by rklogd) # $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat +# Filter duplicated messages +$RepeatedMsgReduction on + # # Set the default permissions for all log files. # |