syslog-ng: increase u-a priority to 200
authorSteffen Sledz <sledz@dresearch.de>
Fri, 8 Oct 2010 12:56:42 +0000 (14:56 +0200)
committerSteffen Sledz <sledz@dresearch.de>
Fri, 8 Oct 2010 12:56:42 +0000 (14:56 +0200)
Priority for update-alternatives was 50 before which was the
same like the one for busybox-syslog. Resulting order now is:

* 300 rsyslogd
* 200 syslog-ng
* 100 sysklogd
* 50 busybox-syslog

Signed-off-by: Steffen Sledz <sledz@dresearch.de>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/syslog-ng/syslog-ng.inc

index fbe9adf..f12791d 100644 (file)
@@ -6,7 +6,7 @@ DEPENDS = "libol flex eventlog glib-2.0"
 DEPENDS_append = " update-rc.d update-rc.d-native"
 RDEPENDS_${PN}_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
 
-INC_PR = "r3"
+INC_PR = "r4"
 
 inherit autotools
 
@@ -22,7 +22,7 @@ do_install_append() {
 CONFFILES_${PN} = "${sysconfdir}/${PN}.conf"
 
 pkg_postinst_${PN} () {
-        update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 50
+        update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 200
 
         if test "x$D" != "x"; then
                 OPT="-r $D"