chiark / gitweb /
man: runlevel 5 is usually more comprehensive, so use it instead of 3 to detect wheth...
authorLennart Poettering <lennart@poettering.net>
Sat, 16 Apr 2011 00:42:23 +0000 (02:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 16 Apr 2011 00:42:23 +0000 (02:42 +0200)
man/daemon.xml

index ab355cd..bf454fd 100644 (file)
@@ -869,7 +869,7 @@ fi</programlisting>
                         a fragment like the following:</para>
 
                         <programlisting>%triggerun -- foobar &lt; 0.47.11-1
-if /sbin/chkconfig --level 3 foobar ; then
+if /sbin/chkconfig --level 5 foobar ; then
         /bin/systemctl --no-reload enable foobar.service foobar.socket >/dev/null 2>&amp;1 || :
 fi</programlisting>