diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-04-15 21:19:26 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-04-15 21:19:26 +0200 |
| commit | 15a33852bb45ee47b46145cf798cf2ab30c6c8ea (patch) | |
| tree | 68cc414d5342844d3f001a6327eb715ff1ff5ca2 /python | |
| parent | d9c7cf3bc0e76661f48bd0ce13acfc7be182a326 (diff) | |
| download | vyos-1x-15a33852bb45ee47b46145cf798cf2ab30c6c8ea.tar.gz vyos-1x-15a33852bb45ee47b46145cf798cf2ab30c6c8ea.zip | |
serial: T8375: call update_serial_console() only once for default tty
When there are multiple serial consoles defined; but either none or the
last used the 'kernel' CLI option to disply Kernel messages, the GRUB
code was called multiple times.
By moving the call to the GRUB helpers outside the for loop we gain a single
execution of the code path, not that it matters performance wise - but messing
with the bootloader should be reduced to a minimum.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
