--- a/etc/inittab 2017-12-11 23:23:19.447079364 +0100
+++ b/etc/inittab 2017-12-11 23:24:19.456085118 +0100
@@ -37,7 +37,7 @@
# TERMINALS
#x1:12345:respawn:/sbin/agetty 38400 console linux
-c1:12345:respawn:/sbin/agetty 38400 tty1 linux
+c1:12345:respawn:/sbin/agetty 38400 tty1 linux --noclear
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
--- a/etc/init.d/fixinittab 2017-12-11 23:28:37.249405741 +0100
+++ b/etc/init.d/fixinittab 2017-12-11 23:30:07.994926640 +0100
@@ -34,14 +34,14 @@
if [ -c "/dev/ttyS0" ]
then
LIVECD_CONSOLE_BAUD=$(stty -F /dev/ttyS0 speed)
- echo "s0:12345:respawn:/sbin/agetty -a root ${LIVECD_CONSOLE_BAUD} ttyS0 vt100" >> /etc/inittab
+ echo "s0:12345:respawn:/sbin/agetty --noclear -a root ${LIVECD_CONSOLE_BAUD} ttyS0 vt100" >> /etc/inittab
fi
# HPPA software PDC console (K-models)
if [ "${LIVECD_CONSOLE}" = "ttyB0" ]
then
mknod /dev/ttyB0 c 11 0
LIVECD_CONSOLE_BAUD=$(stty -F /dev/ttyB0 speed)
- echo "b0:12345:respawn:/sbin/agetty -a root ${LIVECD_CONSOLE_BAUD} ttyB0 vt100" >> /etc/inittab
+ echo "b0:12345:respawn:/sbin/agetty --noclear -a root ${LIVECD_CONSOLE_BAUD} ttyB0 vt100" >> /etc/inittab
fi
# FB / STI console
if [ -c "/dev/vc/1" -o -c "/dev/tts/1" -o -c "/dev/tty2" ]
@@ -51,7 +51,7 @@
then
for x in 0 1 2 3 4 5 6
do
- echo "c${x}:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty${x} linux" >> /etc/inittab
+ echo "c${x}:12345:respawn:/sbin/agetty --noclear -nl /bin/bashlogin 38400 tty${x} linux" >> /etc/inittab
done
else
for x in 1 2 3 4 5 6
@@ -64,7 +64,7 @@
then
eindent
ebegin "Adding hvc console to inittab ..."
- echo "s0:12345:respawn:/sbin/agetty -a root 9600 hvc0 vt320" >> /etc/inittab
+ echo "s0:12345:respawn:/sbin/agetty --noclear -a root 9600 hvc0 vt320" >> /etc/inittab
eend $?
eoutdent
fi
@@ -75,12 +75,12 @@
then
for x in 1 2 3 4 5 6
do
- echo "c${x}:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty${x} linux" >> /etc/inittab
+ echo "c${x}:12345:respawn:/sbin/agetty --noclear -nl /bin/bashlogin 38400 tty${x} linux" >> /etc/inittab
done
else
eindent
ebegin "Adding ${LIVECD_CONSOLE} console to inittab"
- echo "s0:12345:respawn:/sbin/agetty -a root ${LIVECD_CONSOLE_BAUD} ${LIVECD_CONSOLE} vt100" >> /etc/inittab
+ echo "s0:12345:respawn:/sbin/agetty --noclear -a root ${LIVECD_CONSOLE_BAUD} ${LIVECD_CONSOLE} vt100" >> /etc/inittab
eend $?
eoutdent
fi
@@ -97,7 +97,7 @@
*options\ \'[0-9]*) speed=`echo "$x" | sed "s/.*options '//; s/[^0-9].*//"` ;;
*) speed=9600 ;; # choose a default, only matters if it is serial
esac
- echo "$id:12345:respawn:/sbin/agetty -a root ${speed} ${line} vt100" >> /etc/inittab
+ echo "$id:12345:respawn:/sbin/agetty --noclear -a root ${speed} ${line} vt100" >> /etc/inittab
done
fi