summaryrefslogtreecommitdiff
path: root/sysutils/diskcheckd/files/diskcheckd.in
blob: 2140d618c7cd77d6d2b727deb26b179ba7cc4eb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: diskcheckd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#

# Define these diskcheckd_* variables in one of these files:
#	/etc/rc.conf
#	/etc/rc.conf.local
#	/etc/rc.conf.d/diskcheckd
#
# DO NOT CHANGE THE DEFAULT VALUES HERE

diskcheckd_enable=${diskcheckd_enable:-"no"}

. /etc/rc.subr

name="diskcheckd"
rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/diskcheckd

load_rc_config $name
run_rc_command "$1"