xen: add -noclear to xvc0 console.

This commit is contained in:
Arne Fitzenreiter
2014-01-29 08:51:38 +01:00
parent 3cba134fa8
commit 21b9f5dccd
2 changed files with 2 additions and 1 deletions

View 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

View 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