ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: ts-7000 in unattended embedded service

To:
Subject: Re: [ts-7000] Re: ts-7000 in unattended embedded service
From: rrk <>
Date: Wed, 17 Aug 2005 19:15:17 -0500
m g wrote:

>On Wed, Aug 17, 2005 at 02:26:57PM -0000, jenlhunt2003 wrote:
> 
>
>>Actually, putting
>>
>>tst1:12345:wait:/mydir/myprogram
>>
>>after the Run Level r6:6:wait:/etc/rc.d/rcS 6 line in etc/inittab
>>seems to work quite well so far, including network connectivity.
>>
>>So, since this approach isn't proper, how do you recommend handling
>>unattended bootup the "right" way?  Seriously, not being able to boot
>>and execute a program without login would make the TS-7200 unusable
>>for most embedded applications.  So how about it folks at TS, what's
>>the proper proceedure here?
>>   
>>
>
>Unless I'm completely misunderstand what you want to accomplish there
>should *never* be any reason to have to login to run a program. Most
>desktop Linuxes have a "local" init script in init.d. The intent is to
>start in miscellaneous programs. It doesn't look like the TS-72XX has
>one but it's simple enough to create one.
>
>1. Create a shell script in /etc/init.d called local.start
>
>2. Put whatever you need in here to start your program.
>
>3. (Optional) Create a shell script in /etc/init.d called local.stop if
>for some reason you need to do an orderly shutdown of your program. Put
>those commands here.
>
>4. Create a symbolic link with the following command in /etc/rc.d/rc3.d
>
>        $ ln -s ../../init.d/local.start S99local
>
>This will execute your script in local.start. The '99' is the order
>in this case '99' should be the highest number so it will run last.
>
>5. (Optional) Create a complimentary symbolic link in /etc/rc.d/rc0.d and
>/etc/rc.d/rc6.d for halt and reboot, respectively.
>
>        $ ln -s ../../init.d/local.stop S01local
>
>
>Let me know if you have any more questions. Good Luck!
>
>Mike
>
>
>
>this will give you the general idea
> 
>
http://librenix.com/?inode=7136

>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
> 
>



------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h5echm3/M=362131.6882499.7825260.1510227/D=groups/S=1705005378:TM/Y=YAHOO/EXP=1124334546/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->


Yahoo! Groups Links

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

<*> 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