View | Details | Raw Unified | Return to bug 279241
Collapse All | Expand All

(-)b/net/mDNSResponder/files/mdnsd.in (-1 / +8 lines)
Lines 2-8 Link Here
2
2
3
# PROVIDE: mdnsd
3
# PROVIDE: mdnsd
4
# REQUIRE: DAEMON
4
# REQUIRE: DAEMON
5
# KEYWORD: shutdown
5
# KEYWORD: resume shutdown
6
6
7
. /etc/rc.subr
7
. /etc/rc.subr
8
8
Lines 15-20 load_rc_config $name Link Here
15
: ${mdnsd_pidfile="/var/run/${name}.pid"}
15
: ${mdnsd_pidfile="/var/run/${name}.pid"}
16
16
17
command="%%PREFIX%%/sbin/${name}"
17
command="%%PREFIX%%/sbin/${name}"
18
extra_commands="resume"
19
resume_cmd="mdnsd_resume"
18
pidfile="${mdnsd_pidfile}"
20
pidfile="${mdnsd_pidfile}"
19
21
22
mdnsd_resume()
23
{
24
	run_rc_command restart
25
}
26
20
run_rc_command $*
27
run_rc_command $*
(-)b/net/mDNSResponder/files/mdnsresponderposix.in (-1 / +7 lines)
Lines 2-8 Link Here
2
2
3
# PROVIDE: mdnsresponderposix
3
# PROVIDE: mdnsresponderposix
4
# REQUIRE: DAEMON
4
# REQUIRE: DAEMON
5
# KEYWORD: shutdown
5
# KEYWORD: resume shutdown
6
6
7
. /etc/rc.subr
7
. /etc/rc.subr
8
8
Lines 16-20 load_rc_config $name Link Here
16
16
17
command="%%PREFIX%%/bin/mDNSResponderPosix"
17
command="%%PREFIX%%/bin/mDNSResponderPosix"
18
command_args="-b -P ${mdnsresponderposix_pidfile}"
18
command_args="-b -P ${mdnsresponderposix_pidfile}"
19
extra_commands="resume"
20
resume_cmd="mdnsresponderposix_resume"
21
22
mdnsresponderposix_resume() {
23
	run_rc_command restart
24
}
19
25
20
run_rc_command $*
26
run_rc_command $*

Return to bug 279241