ts-7000
[Top] [All Lists]

[ts-7000] Re: Running program at boot

To:
Subject: [ts-7000] Re: Running program at boot
From: "Andy Mercier" <>
Date: Sun, 30 Dec 2007 15:38:28 -0000
> > Change it to something like:
> > 1:2345:respawn:/root/termctrl_getty.sh
> 
> I had tried inittab but it always affected the terminal in strange 
> ways, such as it ignored ctrl-C, or displayed printed lines without 
> linefeeds. It turns out I was misunderstanding the parameters. 

What parameters worked for you? Parameters in the /etc/rcX.d scripts
or some parameters related to inittab?

I suspected you might say something about ctrl-C getting ignored but I
haven't seen a problem with printing without linefeeds. Do you have a
solution for ctrl-C being acted upon correctly?

>1) Go through the normal boot procedure.
>2) Automatically log on as user xyz.
>3) Run my program and display messages it prints on the console.
>4) If I press ctrl-c, abort program and be at command line prompt.

I sometimes have a need for some login control similar to what you
described. How have you addressed that?

> > Instead of "messing" with /etc/rcX.d try carefully 
> modifying /etc/inittab
> 
> "Messing" in this case is Hoosier for "Carefully modifying". I 
> wasn't just changing things without knowing what I was doing. 
> 

I've learned some Hoosier... thanks. Admittedly, my repeating
"Messing" had more of an edge to than I intended and realized I didn't
put a suitable emoticon to indicate some humor. As you probably know,
an error in inittab could result in the inability to log in.

----
Andy



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU