summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-04-15 21:19:26 +0200
committerChristian Breunig <christian@breunig.cc>2026-04-15 21:19:26 +0200
commit15a33852bb45ee47b46145cf798cf2ab30c6c8ea (patch)
tree68cc414d5342844d3f001a6327eb715ff1ff5ca2 /python
parentd9c7cf3bc0e76661f48bd0ce13acfc7be182a326 (diff)
downloadvyos-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