summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-06-03 20:15:13 +0000
committerphk <phk@FreeBSD.org>2001-06-03 20:15:13 +0000
commit89044d522395e3428e2b4f607bb734c3edc417eb (patch)
treef7223503bbadb1ab8219d2ad43f7ef8a5515d4a8 /etc/rc
parenteaecb3dfd450e0865fbd3ab4dc9c1b2ff85e267a (diff)
downloadFreeBSD-src-89044d522395e3428e2b4f607bb734c3edc417eb.zip
FreeBSD-src-89044d522395e3428e2b4f607bb734c3edc417eb.tar.gz
Add diskcheckd to /etc/rc with a knob in rc.conf.
Make the default setting YES for now to get some experience with it. Note: If people starts seeing disk errors because of this then it should not be backed.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 504890d..717a339 100644
--- a/etc/rc
+++ b/etc/rc
@@ -465,6 +465,14 @@ case ${syslogd_enable} in
;;
esac
+# Start disk checking daemon if required.
+#
+case ${diskcheckd_enable} in
+[Yy][Ee][Ss])
+ echo -n ' diskcheckd'; diskcheckd ${diskcheckd_flags}
+ ;;
+esac
+
echo '.'
# Build device name databases if we are not using DEVFS
OpenPOWER on IntegriCloud