Don't sysctl for VPS systems

This commit is contained in:
Roy Marples 2007-04-26 14:17:15 +00:00
parent 54c6ff1b0a
commit 67bfa29457

View File

@ -19,10 +19,12 @@ start() {
fi
if [ -e /etc/sysctl.conf -a ! -x /etc/init.d/sysctl ] ; then
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
ewarn "Skipping /var and /tmp initialization (ro root?)"