diff options
author | Steffen Sledz <sledz@dresearch.de> | 2010-08-27 14:48:43 +0200 |
---|---|---|
committer | Steffen Sledz <sledz@dresearch.de> | 2010-08-31 16:21:35 +0200 |
commit | ec73d417a0a68b0ee398d750a437227ba18da650 (patch) | |
tree | 17a8efa9ce72c81399aa97a3691d57bbd36b3ced /recipes/busybox/busybox.inc | |
parent | 0ba9d6f94caea026c282d9d87704e4ada62babf0 (diff) |
various syslogs: keep syslog running as long as possible on shutdown
Signed-off-by: Steffen Sledz <sledz@dresearch.de>
Acked-by: Graeme Gregory <dp@xora.org.uk>
Diffstat (limited to 'recipes/busybox/busybox.inc')
-rw-r--r-- | recipes/busybox/busybox.inc | 7 |
1 files changed, 5 insertions, 2 deletions
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 () { |