Last change
on this file since 10136 was 10136, checked in by richardvm, 13 years ago |
domme toevoeging van proxy files
|
-
Property svn:executable
set to
*
|
File size:
479 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | #
|
---|
3 | # PROVIDE: fetchzone
|
---|
4 | # BEFORE: maradns
|
---|
5 | # KEYWORD: shutdown
|
---|
6 | #
|
---|
7 | # Add the following line to /etc/rc.conf to enable fetchzone:
|
---|
8 | #
|
---|
9 | # fetchzone_enable="YES"
|
---|
10 | #
|
---|
11 | . /etc/rc.subr
|
---|
12 |
|
---|
13 | name=fetchzone
|
---|
14 | rcvar=`set_rcvar`
|
---|
15 |
|
---|
16 | command_interpreter=/bin/sh
|
---|
17 | command=/usr/local/sbin/fetchzone.sh
|
---|
18 | command_args="&"
|
---|
19 |
|
---|
20 | load_rc_config ${name}
|
---|
21 |
|
---|
22 | fetchzone_enable=${fetchzone_enable-"NO"}
|
---|
23 | fetchzone_pidfile=${fetchzone_pidfile-"/var/run/fetchzone.pid"}
|
---|
24 | pidfile="${fetchzone_pidfile}"
|
---|
25 |
|
---|
26 | run_rc_command "$1"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.