Move the shell code to check for RC_SYS to the keywords dependency.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user