aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.shutdown10
1 files changed, 5 insertions, 5 deletions
diff --git a/rc.shutdown b/rc.shutdown
index a9ca570..7caa853 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -5,17 +5,17 @@
PATH=/sbin:/bin:/usr/sbin:/usr/bin
-out "Waiting for services to stop..."; {
- sv -w196 force-stop /var/service/*
- sv exit /var/service/*
-}
-
out "Running pre shutdown hooks..."
for file in /etc/init/*.pre.shutdown ; do
[ -f "$file" ] && \
out "Running $file" && . "$file"
done
+out "Waiting for services to stop..."; {
+ sv -w196 force-stop /var/service/*
+ sv exit /var/service/*
+}
+
out "Saving random seed..."; {
dd count=1 bs=512 if=/dev/random of=/var/random.seed
}