From 05201b514b99d636af8067e442b2c6ab04e6d530 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 10 Jul 2007 19:09:41 +0000 Subject: init scripts and their extra options can now have descriptions, #184327. --- init.d/localmount | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init.d/localmount') 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 } -- cgit v1.2.3