From 9a09a382f874510f3427cf0a212b87fdb5b8e8d2 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 14 Oct 2010 14:43:26 -0700 Subject: Fix regexp used for disabling up serial with Xen --- scripts/install-system | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/install-system') diff --git a/scripts/install-system b/scripts/install-system index d6e0cebf..adda7339 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -1418,7 +1418,7 @@ setup_xen_extras () { # Comment out serial port entry and add Xen console entry to inittab. inittab=$rootfsdir/etc/inittab - sed -i -e 's/T0/#T0/' $inittab + sed -i -e 's/^T0/#T0/' $inittab echo "" >> $inittab echo "h0:12345:respawn:/sbin/getty 38400 hvc0" >> $inittab } -- cgit v1.2.3