aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.shutdown6
1 files changed, 1 insertions, 5 deletions
diff --git a/rc.shutdown b/rc.shutdown
index e2ea347..5727c76 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -49,10 +49,6 @@ out "Deactivating dmcrypt devices (if any exist)."; {
}
}
-out "Running post shutdown hooks...";
-for file in /etc/init/*.post.shutdown ; do
- [ -f "$file" ] && \
- out "Running $file" && . "$file"
-done
+run_hook post.shutdown
case "$1" in reboot) shalt r ;; poweroff) shalt p ;; esac