summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoff Adams <gadams@avernus.com>2016-09-26 22:18:16 -0700
committerGeoff Adams <gadams@avernus.com>2016-09-26 22:18:16 -0700
commit55915987f745d48fa4b1319888c1edb86963c6ba (patch)
tree7bd99e81f0401be519c903d06ae5a770235af0c9
parent7487f99240d3815cf70d1a016415e2c44ef2a8d3 (diff)
downloadvyatta-op-55915987f745d48fa4b1319888c1edb86963c6ba.tar.gz
vyatta-op-55915987f745d48fa4b1319888c1edb86963c6ba.zip
Support serial console on any ttyS#. Well, any of the first 10.
-rwxr-xr-xscripts/vyatta-boot-image.pl2
1 files changed, 1 insertions, 1 deletions
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';