summaryrefslogtreecommitdiff
path: root/user/dhcpcd/dhcpcd.initd
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-07-05 22:52:23 -0700
committerDan Theisen <djt@hxx.in>2018-07-06 02:34:42 -0700
commit5b7b4d541766dcaa27db11fc82a5114790828deb (patch)
treeda97aafe9de37eaa211552bb96284941ae8b8d8c /user/dhcpcd/dhcpcd.initd
parentc48c8a420b98dbee6779508e31edc3886c915961 (diff)
downloadpackages-5b7b4d541766dcaa27db11fc82a5114790828deb.tar.gz
packages-5b7b4d541766dcaa27db11fc82a5114790828deb.tar.bz2
packages-5b7b4d541766dcaa27db11fc82a5114790828deb.tar.xz
packages-5b7b4d541766dcaa27db11fc82a5114790828deb.zip
user/dhcpcd: import, take, clean up
Diffstat (limited to 'user/dhcpcd/dhcpcd.initd')
-rw-r--r--user/dhcpcd/dhcpcd.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/dhcpcd/dhcpcd.initd b/user/dhcpcd/dhcpcd.initd
new file mode 100644
index 000000000..0539b25da
--- /dev/null
+++ b/user/dhcpcd/dhcpcd.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+
+name="DHCP Client Daemon"
+command="/sbin/dhcpcd"
+pidfile="/run/dhcpcd.pid"
+command_args="-q ${command_args:-}"
+
+depend() {
+ provide net
+ need localmount
+ use logger network
+ after bootmisc modules
+ before dns
+}