Cancel respawn getty on serial tty

Baruch Siach baruch at tkos.co.il
Wed Dec 28 06:25:19 UTC 2011


Hi Rob,

On Tue, Dec 27, 2011 at 03:40:34PM -0800, Rod Nussbaumer wrote:
> I have a setup that uses busybox as the init process. It works fine, and
> is configured to spawn/respawn a getty on ttyS0. Sometimes, however, I
> would prefer to cancel the getty process on the serial port, in order to
> use the serial port for other purposes, such as setting up a
> C-kermit connection on the port. Ideally, I'd like to then restart
> the getty respawning when I'm done with the port.
> 
> How can I do this without modifying inittab and rebooting?

Instead of rebooting you can do 'telinit q' after modifying inittab.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the busybox mailing list