From: Arne Fitzenreiter Date: Wed, 29 Jan 2014 07:51:38 +0000 (+0100) Subject: xen: add -noclear to xvc0 console. X-Git-Tag: v2.15-beta2~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21b9f5dccd880d07790e56041f9763d51782d92d;p=people%2Fms%2Fipfire-2.x.git xen: add -noclear to xvc0 console. --- diff --git a/config/rootfiles/core/76/update.sh b/config/rootfiles/core/76/update.sh index 0295a64a34..aaa34bf060 100644 --- a/config/rootfiles/core/76/update.sh +++ b/config/rootfiles/core/76/update.sh @@ -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 diff --git a/config/xen-image/xen-image-maker.sh b/config/xen-image/xen-image-maker.sh index 31575f71c2..2a985c4b03 100644 --- a/config/xen-image/xen-image-maker.sh +++ b/config/xen-image/xen-image-maker.sh @@ -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