me-no-dev / RasPiArduino

Arduino Framework for RaspberryPI
333 stars 75 forks source link

Recipe for disabling getty from serial port ... #37

Closed nkolban closed 8 years ago

nkolban commented 8 years ago

A default instance of Raspbian has getty running against the serial port. Chances are we don't want to do this if we are using the serial port for the Arduino interfacing. This then says that we want to disable the start up of the getty. One way to do this is to run:

$ sudo systemctl disable serial-getty@ttyAMA0

The current recipe in our README has us edit a boot file. I am wondering if that is needed, can we just use systemctl and which would be a preferred method?

me-no-dev commented 8 years ago

the one in boot is for the boot process, the one you explain is once the kernel has booted.