diff options
author | Geoff Adams <gadams@avernus.com> | 2016-09-20 18:25:56 -0700 |
---|---|---|
committer | Geoff Adams <gadams@avernus.com> | 2016-09-20 18:25:56 -0700 |
commit | 7487f99240d3815cf70d1a016415e2c44ef2a8d3 (patch) | |
tree | 41cf1e6ed28d00642dc3f2bb3456dc95f610b368 | |
parent | a34e4f13c9b387c184b4f55d53477b0b33610bd7 (diff) | |
download | vyatta-op-7487f99240d3815cf70d1a016415e2c44ef2a8d3.tar.gz vyatta-op-7487f99240d3815cf70d1a016415e2c44ef2a8d3.zip |
Correctly identify ttyS1 as a serial console, as well (issue T146).
-rwxr-xr-x | scripts/vyatta-boot-image.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-boot-image.pl b/scripts/vyatta-boot-image.pl index 52b4769..6d03865 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=ttyS0/) { + if (/console=tty0.*console=ttyS[01]/) { $ehash{'term'} = 'serial'; } else { $ehash{'term'} = 'kvm'; |