diff --git a/initramfs/etc_rc.d_rc.shutdown.sh b/initramfs/etc_rc.d_rc.shutdown.sh index 621c22f..611fd11 100644 --- a/initramfs/etc_rc.d_rc.shutdown.sh +++ b/initramfs/etc_rc.d_rc.shutdown.sh @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: target/idunn/initramfs/etc_rc.d_rc.shutdown.sh -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2009 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -16,9 +16,10 @@ . /etc/rc.d/functions.in title "Stopping services" -check sv d /var/service/* +check sv -v force-stop /var/service/* +check sv d /var/service/*/log status title "Stopping supervisor" -check start-stop-daemon -K -x /usr/bin/runsvdir +check start-stop-daemon -K -s HUP -x /usr/bin/runsvdir status