mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 00:12:58 +02:00
xen: add -noclear to xvc0 console.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user