From 4461845feb56c29193d6b95c71583a044fc2ac0c Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 15 Feb 2009 21:24:58 +0200 Subject: [PATCH] rc.shutdown: fixed to leave the house clean --- initramfs/etc_rc.d_rc.shutdown.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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