aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-11-03 16:16:12 +0000
committerRoy Marples <roy@marples.name>2008-11-03 16:16:12 +0000
commit282ad4bae69eb946aba2bf9021573994ed757e30 (patch)
tree6cb4bee2ce243f59c5206c7eec519e888832b3c6 /init.d
parent1e5a6f40e5c24c77bfcc7ac82c42053fd6931132 (diff)
Add descriptions.
Diffstat (limited to 'init.d')
-rw-r--r--init.d/halt.in2
-rw-r--r--init.d/killprocs.in7
-rw-r--r--init.d/romount.in4
3 files changed, 12 insertions, 1 deletions
diff --git a/init.d/halt.in b/init.d/halt.in
index b8f9ed90..754d4ad8 100644
--- a/init.d/halt.in
+++ b/init.d/halt.in
@@ -3,11 +3,13 @@
# All rights reserved. Released under the 2-clause BSD license.
# This script really belongs with the Linux sysvinit package
+description="Halt or reboot the host depending on sysvinit runlevel."
depend()
{
after *
use romount
+ keyword noprefix
}
start()
diff --git a/init.d/killprocs.in b/init.d/killprocs.in
index a969d52a..31b9da2d 100644
--- a/init.d/killprocs.in
+++ b/init.d/killprocs.in
@@ -2,6 +2,13 @@
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
+description="Kill all processes so we can unmount disks cleanly."
+
+depend()
+{
+ keyword noprefix
+}
+
start()
{
ebegin "Terminating remaining processes"
diff --git a/init.d/romount.in b/init.d/romount.in
index d1adaad2..e39384a3 100644
--- a/init.d/romount.in
+++ b/init.d/romount.in
@@ -2,10 +2,12 @@
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
+description="Re-mount filesytems read-only for a clean reboot."
+
depend()
{
need killprocs savecache
- keywords noopenvz novserver
+ keyword noprefix noopenvz novserver
}
start()