aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-06 12:49:41 +0000
committerRoy Marples <roy@marples.name>2008-01-06 12:49:41 +0000
commit6ccc00a050e02c6380c68e62509801d8b3ade658 (patch)
tree770c54f3ab38f5e571ea366a001671b89478b19a
parent62ef80e7f87e206ac3532a0c893f3b80d7736ecc (diff)
Fix sysctl init script, OpenRC bug #1
-rw-r--r--init.d.Linux/sysctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d.Linux/sysctl b/init.d.Linux/sysctl
index b1971cab..f8bae934 100644
--- a/init.d.Linux/sysctl
+++ b/init.d.Linux/sysctl
@@ -29,7 +29,7 @@ depend() {
}
start() {
- [ "${RC_SYS}" != "VPS" ] && return 0
+ [ "${RC_SYS}" = "VPS" ] && return 0
[ -e /etc/sysctl.conf ] || return 0
ebegin "Configuring kernel parameters"
sysctl -p /etc/sysctl.conf >/dev/null