]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
syslog: use initqueue to start syslog
authorHarald Hoyer <harald@redhat.com>
Thu, 1 Oct 2009 12:41:05 +0000 (14:41 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 1 Oct 2009 12:46:16 +0000 (14:46 +0200)
modules.d/98syslog/syslog-genrules.sh

index 740739b12ab38303b5a185ea4bdaa0b40b9baaaa..64aa08c7928636ecf9dd158bf7b6519e825bfd1d 100755 (executable)
@@ -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