xen: add -noclear to xvc0 console.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 29 Jan 2014 07:51:38 +0000 (08:51 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 29 Jan 2014 07:51:38 +0000 (08:51 +0100)
config/rootfiles/core/76/update.sh
config/xen-image/xen-image-maker.sh

index 0295a64a34a16e9af9360358a55366165df26123..aaa34bf0605c7d22acc6e880829924ef2c06f119 100644 (file)
@@ -283,6 +283,7 @@ rm -rf /var/ipfire/{dmzholes,portfw,outgoing,xtaccess}
 
 # Convert inittab and fstab
 sed -i -e "s/tty1 9600$/tty1 9600 --noclear/g" /etc/inittab
+sed -i -e "s/xvc0 9600$/tty1 9600 --noclear/g" /etc/inittab
 sed -i -e "s/^proc/#proc/g" /etc/fstab
 sed -i -e "s/^sysfs/#sysfs/g" /etc/fstab
 sed -i -e "s/^devpts/#devpts/g" /etc/fstab
index 31575f71c201675c2da2779fdf2abd03d3d20663..2a985c4b03b9c064049f080ef4371bb63a3337c8 100644 (file)
@@ -166,7 +166,7 @@ echo xvc0 >> $MNThdd/etc/securetty
 
 #Add getty for xvc0
 echo "#Enable login for XEN" >> $MNThdd/etc/inittab
-echo "8:2345:respawn:/sbin/agetty xvc0 9600" >> $MNThdd/etc/inittab
+echo "8:2345:respawn:/sbin/agetty xvc0 9600 -noclear" >> $MNThdd/etc/inittab
 
 #Disable some initskripts
 echo "#!/bin/sh" > $MNThdd/etc/rc.d/init.d/setclock