Browse Source

rc.shutdown: fixed to leave the house clean

0.2-maint
Alejandro Mery 16 years ago
parent
commit
4461845feb
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      initramfs/etc_rc.d_rc.shutdown.sh

+ 4
- 3
initramfs/etc_rc.d_rc.shutdown.sh

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: target/idunn/initramfs/etc_rc.d_rc.shutdown.sh # 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. # More information can be found in the files COPYING and README.
# #
@ -16,9 +16,10 @@
. /etc/rc.d/functions.in . /etc/rc.d/functions.in
title "Stopping services" title "Stopping services"
check sv d /var/service/*
check sv -v force-stop /var/service/*
check sv d /var/service/*/log
status status
title "Stopping supervisor" title "Stopping supervisor"
check start-stop-daemon -K -x /usr/bin/runsvdir
check start-stop-daemon -K -s HUP -x /usr/bin/runsvdir
status status

Loading…
Cancel
Save