diff options
author | Cecil <knoppmyth@gmail.com> | 2011-02-24 03:13:23 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-02-24 03:13:23 (GMT) |
commit | 348766873f166a30fd2d4e8a7d6bcef16bb5c36d (patch) | |
tree | 3b3cae1611a40dd7c815a8e43b309a6fb9515af5 /abs/core/runit-scripts/runitscripts | |
parent | 2bdd8e16cec273cda0ff623f9b1855da6c779f75 (diff) | |
parent | 449e635712c614df7f1ac8b37263dafbec2d958f (diff) | |
download | linhes_pkgbuild-348766873f166a30fd2d4e8a7d6bcef16bb5c36d.zip linhes_pkgbuild-348766873f166a30fd2d4e8a7d6bcef16bb5c36d.tar.gz linhes_pkgbuild-348766873f166a30fd2d4e8a7d6bcef16bb5c36d.tar.bz2 |
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/3 | 10 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/3.local | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/3 b/abs/core/runit-scripts/runitscripts/3 index 50b3e92..d4b0a6a 100755 --- a/abs/core/runit-scripts/runitscripts/3 +++ b/abs/core/runit-scripts/runitscripts/3 @@ -9,4 +9,14 @@ then kill -9 $pid 2>/dev/null fi export PREVLEVEL=3 + +#user added stuff for level 3 of runit +if [ -e /etc/runit/3.local ] +then + #exec the file + stat_busy /etc/runit/3.local + /etc/runit/3.local + stat_done +fi + /etc/rc.shutdown diff --git a/abs/core/runit-scripts/runitscripts/3.local b/abs/core/runit-scripts/runitscripts/3.local new file mode 100755 index 0000000..4aa8220 --- /dev/null +++ b/abs/core/runit-scripts/runitscripts/3.local @@ -0,0 +1,3 @@ +#!/bin/bash +#local user shutdown script, run at the end of runit 3 + |