aboutsummaryrefslogtreecommitdiff
path: root/init.d.Linux/sysctl
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.Linux/sysctl
parent1f4422c72f968405a0b8bf56d4f9c3b619b1b80d (diff)
Adopt a more C style for scripts and remove vim settings.
Diffstat (limited to 'init.d.Linux/sysctl')
-rw-r--r--init.d.Linux/sysctl8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.d.Linux/sysctl b/init.d.Linux/sysctl
index a445835a..495f8ae5 100644
--- a/init.d.Linux/sysctl
+++ b/init.d.Linux/sysctl
@@ -2,17 +2,17 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
-depend() {
+depend()
+{
use hostname
before bootmisc logger
}
-start() {
+start()
+{
[ "${RC_SYS}" = "VPS" ] && return 0
[ -e /etc/sysctl.conf ] || return 0
ebegin "Configuring kernel parameters"
sysctl -p /etc/sysctl.conf >/dev/null
eend $?
}
-
-# vim: set ts=4 :