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 $* |