[arch-projects] [initscripts] [PATCH] rc.shutdown: Move 'run_hook shutdown_start' after "Initiating Shutdown..."
Kurt J. Bosch
kjb-temp-2009 at alpenjodel.de
Fri Jul 22 02:15:51 EDT 2011
Rationale
Avoid printing any start hook status messages above the head line.
---
rc.shutdown | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
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
--
1.7.1
More information about the arch-projects
mailing list