diff options
-rwxr-xr-x | init.d/bootmisc | 8 |
1 files changed, 5 insertions, 3 deletions
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 |