aboutsummaryrefslogtreecommitdiff
path: root/init.d/localmount
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/localmount
parent445918685e559babf219cbfc775b9c582b52a2fc (diff)
init scripts and their extra options can now have descriptions, #184327.
Diffstat (limited to 'init.d/localmount')
-rwxr-xr-xinit.d/localmount4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.d/localmount b/init.d/localmount
index 456aee34..02688488 100755
--- a/init.d/localmount
+++ b/init.d/localmount
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+description="Mounts disks and swap according to /etc/fstab."
+[ -e /proc/filessystems ] && description="${description} Also mounts various filesystems in /proc."
+[ -x /sbin/dumpon ] && description="${description} Also configures saving kernel dumps to swap."
+
depend() {
need checkfs
}