From: Lennart Poettering Date: Sat, 16 Apr 2011 00:42:23 +0000 (+0200) Subject: man: runlevel 5 is usually more comprehensive, so use it instead of 3 to detect wheth... X-Git-Tag: v25~28 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63415a2d2b13df368cfdd9ad50184f7b77c4af9f;p=systemd man: runlevel 5 is usually more comprehensive, so use it instead of 3 to detect whether a sysv service is enabled --- diff --git a/man/daemon.xml b/man/daemon.xml index ab355cd5..bf454fd0 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -869,7 +869,7 @@ fi a fragment like the following: %triggerun -- foobar < 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>&1 || : fi