I added the following to /etc/inittab
Unfortunately, they do not run after reboot.
I found the reason why in the /etc/inittab file, which states...
# inittab is only used by upstart for the default runlevel.
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
# Terminal gettys (tty[1-6]) are handled by /etc/event.d/tty[1-6] and
Can somebody tell me how to run faxgetty at startup without resorting to cron?
I know I could do something like this in crontab:
@reboot /usr/sbin/faxgetty ttyS0
but that won't respawn if faxgetty dies anytime
Edit: Here is the answer to my own question...
In older versions of Fedora, you would add new lines to /etc/inittab in the format:
That has changed. Now you configure things in /etc/event.d. Each device needs to be configure in its own separate file
So for ttyS0, you would have this file /etc/event.d/ttyS0
The content would be:
start on stopped rc2
start on stopped rc3
start on stopped rc4
stop on runlevel 0
stop on runlevel 1
stop on runlevel 6
exec /sbin/faxgetty ttyS0
Hopefully this helps the next person who encounters the same problem as I did.
Last edited by fw12; 15th November 2009 at 04:45 AM.