summaryrefslogtreecommitdiff
path: root/etc/rc.d/dhcp6leased
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2024-06-03 10:06:36 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2024-06-03 10:06:36 +0000
commit2e04c175e22f46dcddad43e49d8c8cfb6e8a4673 (patch)
tree8262ae39f57441c16e296b0357ba84791d01f48a /etc/rc.d/dhcp6leased
parent73854a9e958bb76e109e57213c70b47393e60d87 (diff)
etc bits for dhcp6leased
looks correct to deraadt
Diffstat (limited to 'etc/rc.d/dhcp6leased')
-rw-r--r--etc/rc.d/dhcp6leased16
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/rc.d/dhcp6leased b/etc/rc.d/dhcp6leased
new file mode 100644
index 00000000000..99a29867fde
--- /dev/null
+++ b/etc/rc.d/dhcp6leased
@@ -0,0 +1,16 @@
+#!/bin/ksh
+#
+# $OpenBSD: dhcp6leased,v 1.1 2024/06/03 10:06:35 florian Exp $
+
+daemon="/sbin/dhcp6leased"
+
+. /etc/rc.d/rc.subr
+
+rc_configtest() {
+ # use rc_exec here since daemon_flags may contain arguments with spaces
+ rc_exec "${daemon} -n ${daemon_flags}"
+}
+
+rc_reload=NO
+
+rc_cmd $1