commit de3d1dfe27ad3212642ba89a7c96b01e86005d82
parent 046611104c9f62423433289e54571108f160dd53
Author: sin <sin@2f30.org>
Date: Tue, 1 Jul 2014 15:59:46 +0100
Truncate utmp
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/bin/rc.init b/fs/bin/rc.init
@@ -111,6 +111,8 @@ if [ -x /bin/rc.local ]; then
/bin/rc.local
fi
+echo -n > /var/run/utmp
+
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 &