aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2006-01-14 08:34:09 +0000
committerJudd Vinet <judd@archlinux.org>2006-01-14 08:34:09 +0000
commit8f67fcb5f1fb15d67f024f16bf3249da85375418 (patch)
tree20b804f3b8099b6341319da6ad49e05f87c10ce9 /rc.shutdown
parentcef7bab5145b923577aeea7431d7b19f2dd3946b (diff)
downloadinitscripts-8f67fcb5f1fb15d67f024f16bf3249da85375418.tar.xz
added hook for rc.local.shutdown
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.shutdown b/rc.shutdown
index fa5365d..ca4edc9 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -13,6 +13,10 @@ echo " "
printhl "Initiating Shutdown..."
echo " "
+if [ -x /etc/rc.local.shutdown ]; then
+ /etc/rc.local.shutdown
+fi
+
if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then
# Shutdown daemons
let i=${#DAEMONS[@]}