summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/dhcpd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/dhcpd')
-rwxr-xr-xetc/rc.d/dhcpd18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/rc.d/dhcpd b/etc/rc.d/dhcpd
new file mode 100755
index 0000000..1126769
--- /dev/null
+++ b/etc/rc.d/dhcpd
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# $NetBSD: dhcpd,v 1.3 2000/05/13 08:45:06 lukem Exp $
+#
+
+# PROVIDE: dhcpd
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="dhcpd"
+rcvar=$name
+command="/usr/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+required_files="/etc/${name}.conf /var/db/${name}.leases"
+
+load_rc_config $name
+run_rc_command "$1"
OpenPOWER on IntegriCloud