aboutsummaryrefslogtreecommitdiff
path: root/init.d/checkroot
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/checkroot')
-rwxr-xr-xinit.d/checkroot3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.d/checkroot b/init.d/checkroot
index d6dcd4f7..a7a8b3eb 100755
--- a/init.d/checkroot
+++ b/init.d/checkroot
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+description="Check the root filesystem according to /etc/fstab for errors \
+and optionally repair them."
+
do_mtab() {
# Don't create mtab if /etc is readonly
if ! touch /etc/mtab 2> /dev/null ; then