Move sysctl into it's own init script
This commit is contained in:
@@ -77,14 +77,6 @@ start() {
|
||||
cp /etc/nologin /etc/nologin.boot
|
||||
fi
|
||||
|
||||
if [ -e /etc/sysctl.conf -a ! -x /etc/init.d/sysctl ]; then
|
||||
if [ "${RC_SYS}" != "VPS" ]; then
|
||||
ebegin "Configuring kernel parameters"
|
||||
sysctl -p /etc/sysctl.conf >/dev/null
|
||||
eend $?
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! mkdir /.test.$$ 2>/dev/null; then
|
||||
ewarn "Skipping /var and /tmp initialization (ro root?)"
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user