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/dhcpcd | |
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/dhcpcd')
-rwxr-xr-x | foo/etc/sv/dhcpcd/run | 3 | ||||
l--------- | foo/etc/sv/dhcpcd/supervise | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/foo/etc/sv/dhcpcd/run b/foo/etc/sv/dhcpcd/run new file mode 100755 index 0000000..3949484 --- /dev/null +++ b/foo/etc/sv/dhcpcd/run @@ -0,0 +1,3 @@ +#!/bin/sh +echo "Starting dhcpcd..." +exec /usr/sbin/dhcpcd -q -B 2>&1 diff --git a/foo/etc/sv/dhcpcd/supervise b/foo/etc/sv/dhcpcd/supervise new file mode 120000 index 0000000..4fe4a00 --- /dev/null +++ b/foo/etc/sv/dhcpcd/supervise @@ -0,0 +1 @@ +/run/runit/supervise.dhcpcd \ No newline at end of file |