diff options
author | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-07-22 08:07:49 +0200 |
---|---|---|
committer | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-07-22 08:11:52 +0200 |
commit | a4a47cfb5b97ddbf771959f1744c81167bc6b6f7 (patch) | |
tree | ffa6ec23152df38036834f9e9b65c2fbdb61d1b0 /rc.shutdown | |
parent | 1f358f911a0237f4224169c4d225a9ae306e0853 (diff) |
rc.shutdown: Move 'run_hook shutdown_start' after "Initiating Shutdown..."
Rationale
Avoid printing any start hook status messages above the head line.
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | 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 |