[oe] [PATCH] syslog-ng: increase u-a priority to 200

Steffen Sledz sledz at dresearch.de
Fri Oct 8 12:07:20 UTC 2010


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 at dresearch.de>
---
 recipes/syslog-ng/syslog-ng.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/syslog-ng/syslog-ng.inc b/recipes/syslog-ng/syslog-ng.inc
index fbe9adf..e58f1ea 100644
--- a/recipes/syslog-ng/syslog-ng.inc
+++ b/recipes/syslog-ng/syslog-ng.inc
@@ -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"
-- 
1.7.1





More information about the Openembedded-devel mailing list