Fix sysctl init script, OpenRC bug #1
This commit is contained in:
parent
62ef80e7f8
commit
6ccc00a050
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user