summaryrefslogtreecommitdiff
path: root/modules.d/98syslog
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-10-01 14:41:05 +0200
committerHarald Hoyer <harald@redhat.com>2009-10-01 14:46:16 +0200
commit187d04ccb0d1e4cf2214eb11533171bf3b4356c1 (patch)
tree043ccb87aa788072b38aae7ca5bfbf99163454bb /modules.d/98syslog
parentf214273fd6797c599f7c8adb8a87fb77e701a5d8 (diff)
downloaddracut-187d04ccb0d1e4cf2214eb11533171bf3b4356c1.tar.gz
dracut-187d04ccb0d1e4cf2214eb11533171bf3b4356c1.tar.bz2
dracut-187d04ccb0d1e4cf2214eb11533171bf3b4356c1.zip
syslog: use initqueue to start syslog
Diffstat (limited to 'modules.d/98syslog')
-rwxr-xr-xmodules.d/98syslog/syslog-genrules.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/98syslog/syslog-genrules.sh b/modules.d/98syslog/syslog-genrules.sh
index 740739b1..64aa08c7 100755
--- a/modules.d/98syslog/syslog-genrules.sh
+++ b/modules.d/98syslog/syslog-genrules.sh
@@ -29,7 +29,7 @@ if [ -z "$syslogtype" ]; then
echo $syslogtype > /tmp/syslog.type
fi
if [ -e "/sbin/${syslogtype}-start" ]; then
- printf 'ACTION=="online", SUBSYSTEM=="net", RUN+="/sbin/'${syslogtype}'-start $env{INTERFACE}"\n' > /etc/udev/rules.d/70-syslog.rules
+ printf 'ACTION=="online", SUBSYSTEM=="net", RUN+="/sbin/initqueue --onetime /sbin/'${syslogtype}'-start $env{INTERFACE}"\n' > /etc/udev/rules.d/70-syslog.rules
else
warn "syslog-genrules: Could not find binary to start syslog of type \"$syslogtype\". Syslog will not be started."
fi