Move the shell code to check for RC_SYS to the keywords dependency.

This commit is contained in:
Roy Marples
2008-02-19 14:29:20 +00:00
parent 0364bb2c84
commit 42bfd7b6dc
6 changed files with 23 additions and 30 deletions

View File

@@ -6,11 +6,11 @@ depend()
{
use hostname
before bootmisc logger
keywords novps
}
start()
{
[ "${RC_SYS}" = "VPS" ] && return 0
[ -e /etc/sysctl.conf ] || return 0
ebegin "Configuring kernel parameters"
sysctl -p /etc/sysctl.conf >/dev/null