From 67bfa29457eb06b80eb9e1c41075e0fed3d26f74 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 26 Apr 2007 14:17:15 +0000 Subject: Don't sysctl for VPS systems --- init.d/bootmisc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'init.d/bootmisc') diff --git a/init.d/bootmisc b/init.d/bootmisc index c00407f0..b9c91385 100755 --- a/init.d/bootmisc +++ b/init.d/bootmisc @@ -19,9 +19,11 @@ start() { fi if [ -e /etc/sysctl.conf -a ! -x /etc/init.d/sysctl ] ; then - ebegin "Configuring kernel parameters" - sysctl -q -p /etc/sysctl.conf - eend $? + if [ "${RC_SYS}" != "VPS" ] ; then + ebegin "Configuring kernel parameters" + sysctl -q -p /etc/sysctl.conf + eend $? + fi fi if ! touch -c /var/run 2> /dev/null ; then -- cgit v1.2.3