Bug#504381: rootskel: noshell boot option for unattended installations
On Mon, Nov 03, 2008 at 11:36:16AM +0100, Frans Pop wrote:
> On Monday 03 November 2008, Colin Watson wrote:
> > Timo Aaltonen, an Ubuntu developer, uploaded the attached patch to
> > Ubuntu's rootskel package. I think it's reasonable and worthwhile. Any
> > objections (post-lenny of course)?
> Seems fine, but why
> + sed -i '/^tty2\|^tty3/s/^tty/\#tty/' /etc/inittab
> instead of just
> + sed -i '/^tty2\|^tty3/s/^/#/' /etc/inittab
> or even
> + sed -ri '/^tty(2|3)/s/^/#/' /etc/inittab
Either of those replacements make sense to me.
Colin Watson [email@example.com]