summaryrefslogtreecommitdiff
path: root/etc/rc.d/dhcpleased
blob: 03c025c9bc5611e7ffb0dc599a40f2bf240ec377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/ksh
#
# $OpenBSD: dhcpleased,v 1.2 2022/10/14 10:41:43 kn Exp $

daemon="/sbin/dhcpleased"

. /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