diff options
author | Stefan Mühlinghaus <jazzman@alphabreed.com> | 2015-01-15 22:49:49 +0100 |
---|---|---|
committer | Stefan Mühlinghaus <jazzman@alphabreed.com> | 2015-01-15 22:49:49 +0100 |
commit | 728381ff7216d534b1c2c7ba1a28056ffcbb9500 (patch) | |
tree | a227ad354507de6d612e5a183cacf0cc8fa4d55e /3 | |
parent | 6394a10a18da669b9054244293d19902de037892 (diff) | |
download | runit-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-x | 3 | 2 |
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 |