chiark / gitweb /
man: fix chkconfig syntax to use --level 3
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Mar 2011 21:18:49 +0000 (22:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Mar 2011 21:18:49 +0000 (22:18 +0100)
man/daemon.xml

index ea0e6d2..ab355cd 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 foobar ; then
+if /sbin/chkconfig --level 3 foobar ; then
         /bin/systemctl --no-reload enable foobar.service foobar.socket >/dev/null 2>&amp;1 || :
 fi</programlisting>