summaryrefslogtreecommitdiff
path: root/init.d.Linux
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.Linux
parent445918685e559babf219cbfc775b9c582b52a2fc (diff)
downloadopenrc-05201b514b99d636af8067e442b2c6ab04e6d530.tar.gz
openrc-05201b514b99d636af8067e442b2c6ab04e6d530.tar.bz2
openrc-05201b514b99d636af8067e442b2c6ab04e6d530.tar.xz
init scripts and their extra options can now have descriptions, #184327.
Diffstat (limited to 'init.d.Linux')
-rwxr-xr-xinit.d.Linux/clock3
-rwxr-xr-xinit.d.Linux/consolefont2
-rwxr-xr-xinit.d.Linux/keymaps2
-rwxr-xr-xinit.d.Linux/modules2
-rwxr-xr-xinit.d.Linux/numlock2
5 files changed, 11 insertions, 0 deletions
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
}