Don't sysctl for VPS systems
This commit is contained in:
parent
54c6ff1b0a
commit
67bfa29457
@ -19,9 +19,11 @@ start() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e /etc/sysctl.conf -a ! -x /etc/init.d/sysctl ] ; then
|
if [ -e /etc/sysctl.conf -a ! -x /etc/init.d/sysctl ] ; then
|
||||||
ebegin "Configuring kernel parameters"
|
if [ "${RC_SYS}" != "VPS" ] ; then
|
||||||
sysctl -q -p /etc/sysctl.conf
|
ebegin "Configuring kernel parameters"
|
||||||
eend $?
|
sysctl -q -p /etc/sysctl.conf
|
||||||
|
eend $?
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! touch -c /var/run 2> /dev/null ; then
|
if ! touch -c /var/run 2> /dev/null ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user