diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-10-10 12:07:54 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-10-10 12:07:54 +0000 |
commit | 707d88e4913981944ac2e4e7fd410fdb908403fb (patch) | |
tree | abf33299df85cba00f784d6aa69101d25cdb4a76 /etc | |
parent | f662978d935496bb9860f15fc0989fa5b7e3b91f (diff) |
Enable configtest
OK solene
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/dhcpd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/rc.d/dhcpd b/etc/rc.d/dhcpd index 30a4dcd3e4d..147cc3ba3fb 100644 --- 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() { |