Regards
Bill Maidment
Maidment Enterprises Pty Ltd

    -----Original message-----
    *From:* Todd And Margo Chester <toddandma...@gmail.com>
    *Sent:* Sunday 19th August 2012 12:25
    *To:* Scientific Linux Users <SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV>
    *Subject:* inittab question

    Hi All,

    Why does this work:

           #/usr/sbin/faxgetty -D ttyS1

    but, placing this in my /etc/inittab does not?

           m0:2345:respawn:/usr/sbin/faxgetty ttyS1

    I have run "init q" several times to no avail.
    Can anyone see a typo I am missing?

    # ps ax | grep -i faxget | grep -v grep
    <nothing>

    After invoking from the command line, I get
    # ps ax | grep -i faxget | grep -v grep
       9827 ?        Ss     0:00 /usr/sbin/faxgetty -D ttyS1

    What am I missing?

    Many thanks,
    -T


On 08/18/2012 10:33 PM, Bill Maidment wrote:> You need to put it in /etc/init/ 
nowadays. Read the notes at the top of
/etc/inittab





Thank you.  I missed that.  Now to figure out how to use /etc/init.

-T

Figured it out.

Scientific Linux/RHEL 6.x

Create a file

    touch /etc/init/faxgetty.conf

For ttyS1, fill it with

start on runlevel [2345]
stop on runlevel [S016]
respawn
exec /usr/sbin/faxgetty ttyS1



Then do:
     initctl start faxgetty

Reply via email to