aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit.d/bootmisc6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc
index 112dfca4..c00407f0 100755
--- a/init.d/bootmisc
+++ b/init.d/bootmisc
@@ -18,6 +18,12 @@ start() {
cp /etc/nologin /etc/nologin.boot
fi
+ if [ -e /etc/sysctl.conf -a ! -x /etc/init.d/sysctl ] ; then
+ ebegin "Configuring kernel parameters"
+ sysctl -q -p /etc/sysctl.conf
+ eend $?
+ fi
+
if ! touch -c /var/run 2> /dev/null ; then
ewarn "Skipping /var and /tmp initialization (ro root?)"
return 0