From 55915987f745d48fa4b1319888c1edb86963c6ba Mon Sep 17 00:00:00 2001 From: Geoff Adams Date: Mon, 26 Sep 2016 22:18:16 -0700 Subject: Support serial console on any ttyS#. Well, any of the first 10. --- scripts/vyatta-boot-image.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vyatta-boot-image.pl b/scripts/vyatta-boot-image.pl index 6d03865..d3ca5e8 100755 --- a/scripts/vyatta-boot-image.pl +++ b/scripts/vyatta-boot-image.pl @@ -102,7 +102,7 @@ sub parseGrubCfg { # old install $ehash{'ver'} = $OLD_IMG_VER_STR; } - if (/console=tty0.*console=ttyS[01]/) { + if (/console=tty0.*console=ttyS[0-9]/) { $ehash{'term'} = 'serial'; } else { $ehash{'term'} = 'kvm'; -- cgit v1.2.3