I created a new file in /etc/event.d in the hope that mgetty would be
started automatically, and respawned when it ends.

Well, it starts fine on system restart, but when mgetty ends, that's
it... no respawn. :-(

This is Fedora 9

I created this ttyS1 file in /etc/event.d, which I modeled after an
existing file (tty1)  :

# ttyS1 - mgetty
#
# This service maintains an mgetty on ttyS1 from the point the system is
# started until it is shut down again.

# DNR 2008-10-29
description "mgetty for Caller ID modem"

start on stopped rc2
start on stopped rc3
start on stopped rc4
start on stopped rc5
start on started prefdm

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

exec /usr/local/sbin/mgetty -n 2 ttyS1
respawn


But, after mgetty answers an incoming call, and ends... it is not
respawned... so a second call is never answered.

Where do I find documentation on the contents of these files in
/etc/event.d or is there a different mechanism I should be using for
such things?

Thanks

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to