Reply To: Disabling serial console to allow serial port to be used.

Home Page Forums Network Management ZeroShell Disabling serial console to allow serial port to be used. Reply To: Disabling serial console to allow serial port to be used.

#47617

tls
Member

The code did not exactly work for me, so I make it a little cleaner, thus building on your idea:


[ -f /etc/inittab.original ] || cp /etc/inittab{,.original}
sed -i 's/(^.*ttyS0.*$)/#1/' /etc/inittab
telinit q

Many thanks for posting the initial issue – I had the same problem, wanted to ttyS0 to hook into my edge switch on the serial line so I could always get to my systems.

–tls