about summary refs log tree commit diff
path: root/3
diff options
context:
space:
mode:
authorStefan Mühlinghaus <jazzman@alphabreed.com>2015-01-15 22:49:49 +0100
committerStefan Mühlinghaus <jazzman@alphabreed.com>2015-01-15 22:49:49 +0100
commit728381ff7216d534b1c2c7ba1a28056ffcbb9500 (patch)
treea227ad354507de6d612e5a183cacf0cc8fa4d55e /3
parent6394a10a18da669b9054244293d19902de037892 (diff)
downloadrunit-void-728381ff7216d534b1c2c7ba1a28056ffcbb9500.tar.gz
runit-void-728381ff7216d534b1c2c7ba1a28056ffcbb9500.tar.xz
runit-void-728381ff7216d534b1c2c7ba1a28056ffcbb9500.zip
Added /etc/rc.shutdown, called in runlevel 3
Diffstat (limited to '3')
-rwxr-xr-x32
1 files changed, 2 insertions, 0 deletions
diff --git a/3 b/3
index 65df780..ea30b9c 100755
--- a/3
+++ b/3
@@ -16,6 +16,8 @@ msg "Waiting for services to stop...\n"
 sv force-stop /var/service/*
 sv exit /var/service/*
 
+[ -x /etc/rc.shutdown ] && /etc/rc.shutdown
+
 msg "Saving random seed...\n"
 dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=512 >/dev/null 2>&1