summary refs log tree commit diff
path: root/services/dhcpcd-eth0
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-08 01:47:58 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-08 01:47:58 +0200
commitb6cf543eb47732b378dd30b919c7d10368917a72 (patch)
tree20f704fe6a69dd6260a5835d41b01616c2965275 /services/dhcpcd-eth0
parent84b2996eaa315fa83abe4a4386788657a4fba290 (diff)
downloadrunit-void-b6cf543eb47732b378dd30b919c7d10368917a72.tar.gz
runit-void-b6cf543eb47732b378dd30b919c7d10368917a72.tar.xz
runit-void-b6cf543eb47732b378dd30b919c7d10368917a72.zip
New service: dhcpcd-eth0 (adapt it for your device :-)
Diffstat (limited to 'services/dhcpcd-eth0')
-rwxr-xr-xservices/dhcpcd-eth0/run2
l---------services/dhcpcd-eth0/supervise1
2 files changed, 3 insertions, 0 deletions
diff --git a/services/dhcpcd-eth0/run b/services/dhcpcd-eth0/run
new file mode 100755
index 0000000..159bdbc
--- /dev/null
+++ b/services/dhcpcd-eth0/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec dhcpcd -B eth0
diff --git a/services/dhcpcd-eth0/supervise b/services/dhcpcd-eth0/supervise
new file mode 120000
index 0000000..9a087b7
--- /dev/null
+++ b/services/dhcpcd-eth0/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.dhcpd-eth0
\ No newline at end of file