aboutsummaryrefslogtreecommitdiff
path: root/init.d/checkroot
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-10 19:09:41 +0000
committerRoy Marples <roy@marples.name>2007-07-10 19:09:41 +0000
commit05201b514b99d636af8067e442b2c6ab04e6d530 (patch)
tree9f41b80b1540b297ba38adc294cb700f92af4aa6 /init.d/checkroot
parent445918685e559babf219cbfc775b9c582b52a2fc (diff)
init scripts and their extra options can now have descriptions, #184327.
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