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.Linux/clock | 3 +++ init.d.Linux/consolefont | 2 ++ init.d.Linux/keymaps | 2 ++ init.d.Linux/modules | 2 ++ init.d.Linux/numlock | 2 ++ 5 files changed, 11 insertions(+) (limited to 'init.d.Linux') diff --git a/init.d.Linux/clock b/init.d.Linux/clock index a74bb28..144ecbc 100755 --- a/init.d.Linux/clock +++ b/init.d.Linux/clock @@ -4,6 +4,9 @@ opts="save" +description="Sets the local clock to UTC or Local Time." +description_save="Saves the current time in the BIOS." + depend() { case "${CLOCK_ADJTIME}" in "") before *;; diff --git a/init.d.Linux/consolefont b/init.d.Linux/consolefont index dc56805..33d5676 100755 --- a/init.d.Linux/consolefont +++ b/init.d.Linux/consolefont @@ -2,6 +2,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +description="Sets a font for the consoles." + depend() { need localmount need keymaps # sets up terminal encoding scheme diff --git a/init.d.Linux/keymaps b/init.d.Linux/keymaps index 1e0f28f..1748512 100755 --- a/init.d.Linux/keymaps +++ b/init.d.Linux/keymaps @@ -2,6 +2,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +description="Applies a keymap for the consoles." + depend() { need localmount } diff --git a/init.d.Linux/modules b/init.d.Linux/modules index 090bd7c..53ad52a 100755 --- a/init.d.Linux/modules +++ b/init.d.Linux/modules @@ -2,6 +2,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +description="Loads a user defined list of kernel modules." + depend() { need checkroot use isapnp diff --git a/init.d.Linux/numlock b/init.d.Linux/numlock index 9597475..3326e13 100755 --- a/init.d.Linux/numlock +++ b/init.d.Linux/numlock @@ -2,6 +2,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +description="Turns numlock on for the consoles." + depend() { need localmount } -- cgit v1.2.3