From ec73d417a0a68b0ee398d750a437227ba18da650 Mon Sep 17 00:00:00 2001 From: Steffen Sledz Date: Fri, 27 Aug 2010 14:48:43 +0200 Subject: various syslogs: keep syslog running as long as possible on shutdown Signed-off-by: Steffen Sledz Acked-by: Graeme Gregory --- recipes/busybox/busybox.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'recipes/busybox/busybox.inc') diff --git a/recipes/busybox/busybox.inc b/recipes/busybox/busybox.inc index 96d9bb1df4..1046b2f1ce 100644 --- a/recipes/busybox/busybox.inc +++ b/recipes/busybox/busybox.inc @@ -11,7 +11,7 @@ LICENSE = "GPLv2" SECTION = "base" PRIORITY = "required" -INC_PR = "r33" +INC_PR = "r34" SRC_URI = "\ file://busybox-cron \ @@ -257,7 +257,10 @@ pkg_postinst_${PN}-syslog () { else OPT="-s" fi - update-rc.d $OPT syslog defaults + # remove all rc.d-links potentially created from alternative + # syslog packages before creating new ones + update-rc.d $OPT -f syslog remove + update-rc.d $OPT syslog start 20 2 3 4 5 . stop 90 0 1 6 . } pkg_prerm_${PN}-syslog () { -- cgit v1.2.3