aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()