diff options
author | Roy Marples <roy@marples.name> | 2007-07-10 19:09:41 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-07-10 19:09:41 +0000 |
commit | 05201b514b99d636af8067e442b2c6ab04e6d530 (patch) | |
tree | 9f41b80b1540b297ba38adc294cb700f92af4aa6 /init.d/localmount | |
parent | 445918685e559babf219cbfc775b9c582b52a2fc (diff) |
init scripts and their extra options can now have descriptions, #184327.
Diffstat (limited to 'init.d/localmount')
-rwxr-xr-x | init.d/localmount | 4 |
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 } |