diff options
author | Cem Keylan <cem@ckyln.com> | 2020-01-15 22:41:50 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-01-15 22:41:50 +0300 |
commit | 8ff69e2800b4a4cda10efe99027a049fa6fcbdae (patch) | |
tree | 8dd91adcbac787abe08ca807c7c057a67da12a7c /rc.shutdown | |
parent | a6413a4595e3b22e4c895baed40e97aa44fdfd24 (diff) | |
download | init-8ff69e2800b4a4cda10efe99027a049fa6fcbdae.tar.gz |
Echo the file being executed
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rc.shutdown b/rc.shutdown index d91578f..6413da5 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -12,7 +12,8 @@ out "Waiting for services to stop..."; { out "Running pre shutdown hooks..." for file in /etc/init/*.pre.shutdown ; do - [ -f "$file" ] && . "$file" + [ -f "$file" ] && \ + out "Running $file" && . "$file" done out "Saving random seed..."; { @@ -51,5 +52,6 @@ out "Deactivating dmcrypt devices (if any exist)."; { out "Running post shutdown hooks..."; for file in /etc/init/*.post.shutdown ; do - [ -f "$file" ] && . "$file" + [ -f "$file" ] && \ + out "Running $file" && . "$file" done |