artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac3a694
)
Enable configtest
author
kn
<kn@openbsd.org>
Mon, 10 Oct 2022 12:07:53 +0000
(12:07 +0000)
committer
kn
<kn@openbsd.org>
Mon, 10 Oct 2022 12:07:53 +0000
(12:07 +0000)
OK solene
etc/rc.d/dhcpd
patch
|
blob
|
history
diff --git
a/etc/rc.d/dhcpd
b/etc/rc.d/dhcpd
index
30a4dcd
..
147cc3b
100644
(file)
--- a/
etc/rc.d/dhcpd
+++ b/
etc/rc.d/dhcpd
@@
-1,11
+1,16
@@
#!/bin/ksh
#
-# $OpenBSD: dhcpd,v 1.
3 2018/01/11 19:52:12 rpe
Exp $
+# $OpenBSD: dhcpd,v 1.
4 2022/10/10 12:07:53 kn
Exp $
daemon="/usr/sbin/dhcpd"
. /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_pre() {