source: hybrid/trunk/nanobsd/files/usr/local/etc/rc.d/fetchzone@ 10136

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
13name=fetchzone
14rcvar=`set_rcvar`
15
16command_interpreter=/bin/sh
17command=/usr/local/sbin/fetchzone.sh
18command_args="&"
19
20load_rc_config ${name}
21
22fetchzone_enable=${fetchzone_enable-"NO"}
23fetchzone_pidfile=${fetchzone_pidfile-"/var/run/fetchzone.pid"}
24pidfile="${fetchzone_pidfile}"
25
26run_rc_command "$1"
Note: See TracBrowser for help on using the repository browser.