how to disable serial-getty service?


i would like to disable the serial-getty@ttyS0 service, however a simple

sudo systemctl disable serial-getty@ttys0

doesn’t seem to do it since when i reboot the service is up and running again.
My current solution is simply in the rc.local an explicit stop, this seems to take care of it, however I was wondering why this is such a problem?

I would like to add i’m using the latest jetson package (32.1) on my TX2

See if this helps:

sudo systemctl disable nvgetty.service

“nvgetty” is the serial console used with the Tegra serial device, whereas serial-getty is probably just a generic name and not really the service name.

That does the trick indeed!
Thank you.