commit 6aeab20908c48ff1cae04debc8fefb6ef1c4c4e4
parent cb171d93ddf574e8287d8dcee3e7a2ad738d842f
Author: sin <sin@2f30.org>
Date: Wed, 11 Jun 2014 13:46:48 +0100
Enable core dumps a bit earlier in the boot process
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/bin/rc.init b/fs/bin/rc.init
@@ -93,6 +93,9 @@ else
/bin/chmod 0644 /var/log/dmesg.log
fi
+echo Enabling core dumps
+ulimit -c unlimited
+
if [ -x /bin/rc.modules ]; then
echo Running rc.modules
/bin/rc.modules
@@ -108,9 +111,6 @@ if [ -x /bin/rc.local ]; then
/bin/rc.local
fi
-echo Enabling core dumps
-ulimit -c unlimited
-
echo
/bin/sh -c '/bin/respawn /bin/getty /dev/tty1 linux' &>/dev/null &
/bin/sh -c '/bin/respawn /bin/getty /dev/tty2 linux' &>/dev/null &