aboutsummaryrefslogtreecommitdiff
path: root/init.d/local
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-11 12:13:46 +0000
committerRoy Marples <roy@marples.name>2008-01-11 12:13:46 +0000
commit3bf49a9bd19d5bbcf6976dd42b4f87f1b173e287 (patch)
tree8b4d6121f0d4b921566eeec2844c9bf76131de78 /init.d/local
parent1f4422c72f968405a0b8bf56d4f9c3b619b1b80d (diff)
Adopt a more C style for scripts and remove vim settings.
Diffstat (limited to 'init.d/local')
-rwxr-xr-xinit.d/local11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.d/local b/init.d/local
index b706be65..bf8692a5 100755
--- a/init.d/local
+++ b/init.d/local
@@ -4,12 +4,14 @@
description="Executes user commands in /etc/conf.d/local"
-depend() {
+depend()
+{
after *
keywords notimeout
}
-start() {
+start()
+{
ebegin "Starting local"
if type local_start >/dev/null 2>&1; then
@@ -24,7 +26,8 @@ start() {
eend $? "Failed to start local"
}
-stop() {
+stop()
+{
ebegin "Stopping local"
if type local_start >/dev/null 2>&1; then
@@ -38,5 +41,3 @@ stop() {
eend $? $"Failed to stop local"
}
-
-# vim: set ts=4 :