View | Details | Raw Unified | Return to bug 222151 | Differences between
and this patch

Collapse All | Expand All

(-)dhcpd.in.interfaces (-1 / +4 lines)
Lines 10-25 Link Here
10
# Add the following lines to /etc/rc.conf to enable dhcpd:
10
# Add the following lines to /etc/rc.conf to enable dhcpd:
11
# dhcpd_enable="YES"
11
# dhcpd_enable="YES"
12
# dhcpd_flags="<set as needed>"
12
# dhcpd_flags="<set as needed>"
13
# dhcpd_interfaces="<set as needed">
13
14
14
. /etc/rc.subr
15
. /etc/rc.subr
15
16
16
name=dhcpd
17
name=dhcpd
17
rcvar=dhcpd_enable
18
rcvar=dhcpd_enable
18
19
20
load_rc_config $name
21
19
command="%%PREFIX%%/sbin/dhcpd"
22
command="%%PREFIX%%/sbin/dhcpd"
23
command_args=${dhcpd_interfaces}
20
24
21
dhcpd_enable=${dhcpd_enable:-"NO"}
25
dhcpd_enable=${dhcpd_enable:-"NO"}
22
dhcpd_flags=${dhcpd_flags:-"-c %%PREFIX%%/etc/dhcpd.conf"}
26
dhcpd_flags=${dhcpd_flags:-"-c %%PREFIX%%/etc/dhcpd.conf"}
23
27
24
load_rc_config $name
25
run_rc_command "$1"
28
run_rc_command "$1"

Return to bug 222151