[xen-tools-dev] [PATCH] Disable other getty lines as debian does.
Axel Beckert
abe at deuxchevaux.org
Thu Jul 15 18:58:51 CEST 2010
Hi Stéphane,
On Sun, Jul 11, 2010 at 03:38:49PM +0200, Stéphane Jourdois wrote:
> This makes t/hook-inittab.t pass for this hook.
But it also modifies /etc/inittab more than before:
> -[ -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?
If so, I'm wondering why this wasn't in before. :-)
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail)
X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
More information about the xen-tools-dev
mailing list