mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 02:56:39 -04:00
21 lines
330 B
Bash
21 lines
330 B
Bash
#!/bin/sh
|
|
|
|
# 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"
|