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

Collapse All | Expand All

(-)files/named.in (-2 / +8 lines)
Lines 35-41 Link Here
35
35
36
load_rc_config ${name}
36
load_rc_config ${name}
37
37
38
extra_commands=reload
38
extra_commands="reload rndc"
39
39
40
start_precmd=named_prestart
40
start_precmd=named_prestart
41
start_postcmd=named_poststart
41
start_postcmd=named_poststart
Lines 42-47 Link Here
42
reload_cmd=named_reload
42
reload_cmd=named_reload
43
stop_cmd=named_stop
43
stop_cmd=named_stop
44
stop_postcmd=named_poststop
44
stop_postcmd=named_poststop
45
rndc_cmd=named_rndc
45
46
46
named_enable=${named_enable:-"NO"}
47
named_enable=${named_enable:-"NO"}
47
named_program=${named_program:-"%%PREFIX%%/sbin/named"}
48
named_program=${named_program:-"%%PREFIX%%/sbin/named"}
Lines 198-203 Link Here
198
	rndc reload
199
	rndc reload
199
}
200
}
200
201
202
named_rndc()
203
{
204
	rndc "$@"
205
}
206
201
find_pidfile()
207
find_pidfile()
202
{
208
{
203
	if get_pidfile_from_conf pid-file ${named_conf}; then
209
	if get_pidfile_from_conf pid-file ${named_conf}; then
Lines 432-435 Link Here
432
	${checkconf} ${named_conf} || err 3 "named-checkconf for ${named_conf} failed"
438
	${checkconf} ${named_conf} || err 3 "named-checkconf for ${named_conf} failed"
433
}
439
}
434
440
435
run_rc_command "$1"
441
run_rc_command "$@"

Return to bug 226932