--- dhcpd.in 2017-10-02 19:57:38.435781000 +0200 +++ dhcpd.in.interfaces 2018-03-06 21:57:31.664069000 +0100 @@ -10,16 +10,19 @@ # Add the following lines to /etc/rc.conf to enable dhcpd: # dhcpd_enable="YES" # dhcpd_flags="" +# dhcpd_interfaces=" . /etc/rc.subr name=dhcpd rcvar=dhcpd_enable +load_rc_config $name + command="%%PREFIX%%/sbin/dhcpd" +command_args=${dhcpd_interfaces} dhcpd_enable=${dhcpd_enable:-"NO"} dhcpd_flags=${dhcpd_flags:-"-c %%PREFIX%%/etc/dhcpd.conf"} -load_rc_config $name run_rc_command "$1"