Fix sysctl init script, OpenRC bug #1

This commit is contained in:
Roy Marples 2008-01-06 12:49:41 +00:00
parent 62ef80e7f8
commit 6ccc00a050

View File

@ -29,7 +29,7 @@ depend() {
} }
start() { start() {
[ "${RC_SYS}" != "VPS" ] && return 0 [ "${RC_SYS}" = "VPS" ] && return 0
[ -e /etc/sysctl.conf ] || return 0 [ -e /etc/sysctl.conf ] || return 0
ebegin "Configuring kernel parameters" ebegin "Configuring kernel parameters"
sysctl -p /etc/sysctl.conf >/dev/null sysctl -p /etc/sysctl.conf >/dev/null