From a4a47cfb5b97ddbf771959f1744c81167bc6b6f7 Mon Sep 17 00:00:00 2001 From: "Kurt J. Bosch" Date: Fri, 22 Jul 2011 08:07:49 +0200 Subject: rc.shutdown: Move 'run_hook shutdown_start' after "Initiating Shutdown..." Rationale Avoid printing any start hook status messages above the head line. --- rc.shutdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.shutdown') diff --git a/rc.shutdown b/rc.shutdown index ed87eec..ebfc22c 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -6,8 +6,6 @@ . /etc/rc.conf . /etc/rc.d/functions -run_hook shutdown_start - # avoid staircase effect stty onlcr @@ -15,6 +13,8 @@ echo " " printhl "Initiating Shutdown..." echo " " +run_hook shutdown_start + [[ -x /etc/rc.local.shutdown ]] && /etc/rc.local.shutdown stop_all_daemons -- cgit v1.2.3