[xen-tools-dev] [PATCH] Disable other getty lines as debian does.

Stéphane Jourdois sjourdois at gmail.com
Fri Jul 16 11:19:38 CEST 2010


  Hi,

On 15/07/2010 18:58, Axel Beckert wrote:
>> -[ -f ${prefix}/etc/inittab ]&&  sed -i -e s/tty1/hvc0/ ${prefix}/etc/inittab
>> +[ -f ${prefix}/etc/inittab ]&&  sed -i -e 's/^\([2-6].*:respawn*\)/#\1/' -e 's/^T/#\t/' -e 's/tty1$/hvc0/' ${prefix}/etc/inittab
> Am I right that this disables all serial lines, and all normal
> terminals except the first one?

You're right, no doubt.

> If so, I'm wondering why this wasn't in before. :-)

As I understood it :
  - It was a bug, detected by tests ;
  - Intrepid doesn't use /etc/inittab, but uses links in /etc/event.d, 
which are correctly edited in this script, so harmless bug.

++


More information about the xen-tools-dev mailing list