summaryrefslogtreecommitdiffstats
path: root/sysutils/diskcheckd/files/diskcheckd.in
blob: 847f9a04f76fcd33ea9ba5c3e8adeaa2400c7372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: diskcheckd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#

# Add the following line to /etc/rc.conf to enable diskcheckd:
#
# diskcheckd_enable="YES"

: ${diskcheckd_enable="NO"}

. /etc/rc.subr

name="diskcheckd"
rcvar=diskcheckd_enable
command=%%PREFIX%%/sbin/diskcheckd

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud