aboutsummaryrefslogtreecommitdiff
path: root/services/dhcpcd.in
diff options
context:
space:
mode:
Diffstat (limited to 'services/dhcpcd.in')
-rw-r--r--services/dhcpcd.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/services/dhcpcd.in b/services/dhcpcd.in
new file mode 100644
index 0000000..0d83093
--- /dev/null
+++ b/services/dhcpcd.in
@@ -0,0 +1,10 @@
+description "DHCP client on %0"
+type once
+target boot
+after dhcpcdmaster network
+
+tty /dev/null
+exec {
+ "@SCRIPTDIR@/waitfile" 5 200 /run/dhcpcd.sock /run/dhcpcd.pid
+ dhcpcd -n %0
+}