[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#504381: rootskel: noshell boot option for unattended installations

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

Reply to: