aboutsummaryrefslogtreecommitdiff
path: root/init.d.Linux/sysctl
diff options
context:
space:
mode:
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 :