summaryrefslogtreecommitdiff
path: root/nonsystemd/dhcpcd-openrc/dhcpcd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/dhcpcd-openrc/dhcpcd.initd')
-rw-r--r--nonsystemd/dhcpcd-openrc/dhcpcd.initd19
1 files changed, 19 insertions, 0 deletions
diff --git a/nonsystemd/dhcpcd-openrc/dhcpcd.initd b/nonsystemd/dhcpcd-openrc/dhcpcd.initd
new file mode 100644
index 000000000..3be2cd9f1
--- /dev/null
+++ b/nonsystemd/dhcpcd-openrc/dhcpcd.initd
@@ -0,0 +1,19 @@
+#!/usr/bin/openrc-run
+# Copyright 2007-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command=/usr/bin/dhcpcd
+#pidfile=/run/dhcpcd/pid
+supervisor="supervise-daemon"
+command_args_foreground="--nobackground"
+command_args=-q
+name="DHCP Client Daemon"
+
+depend()
+{
+ provide net
+ need localmount
+ use logger network
+ after bootmisc modules
+ before dns
+}