2 things to check:
1) If you are running X-Windows, you will need to add a 5 to the runlevel field of the inittab line, as in:
t0:235:respawn:/usr/sbin/faxgetty ttyS0
as the line you have in your post tells init to only run faxgetty in runlevels 2 and 3. X-Windows runs at runlevel 5.
Another possibility is that your distro may be using upstart instead of inittab for starting jobs. See if you have a /etc/event.d directory. If you do, you will need to create a file called /etc/event.d/ttyS0. These files are text files describing the job. For example:
# ttyS0 - faxgetty
#
# This service maintains a faxgetty on ttyS0 from the point the system is
# started until it is shut down again.
start on stopped rc2
start on stopped rc3
start on stopped rc4
start on started prefdm
stop on runlevel 0
stop on runlevel 1
stop on runlevel 6
respawn
exec /usr/sbin/faxgetty ttyS0
Last edited by anotherlinuxuser; 02-09-2010 at 10:10 PM.
|