summaryrefslogtreecommitdiff
path: root/modules.d/98syslog
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-08-19 10:59:37 +0200
committerHarald Hoyer <harald@redhat.com>2009-08-19 10:59:37 +0200
commitd41f7ae750895655c8f4a89ffedfc5adac6290f6 (patch)
tree0bbac2d144bdc611ff62ab24ac717caab039e33e /modules.d/98syslog
parente15bc1f330fc1263c997750ce06d5de631c3b7e1 (diff)
downloaddracut-d41f7ae750895655c8f4a89ffedfc5adac6290f6.tar.gz
dracut-d41f7ae750895655c8f4a89ffedfc5adac6290f6.tar.bz2
dracut-d41f7ae750895655c8f4a89ffedfc5adac6290f6.zip
rsyslogd-start.sh: read correct filters file
Diffstat (limited to 'modules.d/98syslog')
-rwxr-xr-xmodules.d/98syslog/rsyslogd-start.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules.d/98syslog/rsyslogd-start.sh b/modules.d/98syslog/rsyslogd-start.sh
index f9e45fce..abab484b 100755
--- a/modules.d/98syslog/rsyslogd-start.sh
+++ b/modules.d/98syslog/rsyslogd-start.sh
@@ -25,7 +25,7 @@ rsyslog_config() {
}
read server < /tmp/syslog.server
-read filters < /tmp/syslog.filter
+read filters < /tmp/syslog.filters
[ -z "$filters" ] && filters="kern.*"
read conf < /tmp/syslog.conf
[ -z "$conf" ] && conf="/etc/rsyslog.conf" && echo "$conf" > /tmp/syslog.conf
@@ -34,4 +34,4 @@ template=/etc/templates/rsyslog.conf
if [ -n "$server" ]; then
rsyslog_config "$server" "$template" "$filters" > $conf
/sbin/rsyslogd -c3
-fi \ No newline at end of file
+fi