[arch-projects] [initscripts] [PATCH] rc.shutdown: Move 'run_hook shutdown_start' after "Initiating Shutdown..."
22 Jul
2011
22 Jul
'11
6:15 a.m.
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
4907
Age (days ago)
4907
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kurt J. Bosch