diff options
author | Juan RP <xtraeme@gmail.com> | 2014-04-25 23:20:32 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-04-25 23:20:32 +0200 |
commit | b2fec086b9f498102537e0ff936138b2960e4082 (patch) | |
tree | 13dd068d53033bf799a502fff1acbf46dfe0743c /foo/etc/sv/alsa | |
download | runit-void-b2fec086b9f498102537e0ff936138b2960e4082.tar.gz runit-void-b2fec086b9f498102537e0ff936138b2960e4082.tar.xz runit-void-b2fec086b9f498102537e0ff936138b2960e4082.zip |
Initial import of runit init scripts based on ignite.
I did not use ignite because it needs bash, and I don't really want it.
Diffstat (limited to 'foo/etc/sv/alsa')
-rwxr-xr-x | foo/etc/sv/alsa/finish | 3 | ||||
-rwxr-xr-x | foo/etc/sv/alsa/run | 4 | ||||
l--------- | foo/etc/sv/alsa/supervise | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/foo/etc/sv/alsa/finish b/foo/etc/sv/alsa/finish new file mode 100755 index 0000000..84e3f81 --- /dev/null +++ b/foo/etc/sv/alsa/finish @@ -0,0 +1,3 @@ +#!/bin/sh +set -e +exec /usr/bin/alsactl store diff --git a/foo/etc/sv/alsa/run b/foo/etc/sv/alsa/run new file mode 100755 index 0000000..a376059 --- /dev/null +++ b/foo/etc/sv/alsa/run @@ -0,0 +1,4 @@ +#!/bin/sh +set -e +/usr/bin/alsactl restore +exec chpst -b alsa pause diff --git a/foo/etc/sv/alsa/supervise b/foo/etc/sv/alsa/supervise new file mode 120000 index 0000000..30bed6b --- /dev/null +++ b/foo/etc/sv/alsa/supervise @@ -0,0 +1 @@ +/run/runit/supervise.alsa \ No newline at end of file |