ts-7000
[Top] [All Lists]

Re: [ts-7000] TSLinux `shutdown` source

To: <>
Subject: Re: [ts-7000] TSLinux `shutdown` source
From: "Michael Schmidt" <>
Date: Thu, 3 May 2007 08:09:37 -0700

> Hi All,
> I'm looking for the source for TSLinux's version of shutdown program.
> I need to modify it to bring a DIO pin high so my switch can turn
> itself off (after TS-7200 has been shut down safely). Any pointers as
> to where I can find the tarball?
>
> Thanks!
> - Taj

The shutdown program calls various scripts to perform shutdown tasks.  The 
location and contents of these scripts vary by distribution, but for TSLinux 
you might start by looking in /etc/rc0.d.  You could put your own 
application to run at the appropriate place in /etc/rc0.d/S01halt for 
example, and then it would be called so you could set the DIO pin before the 
system was halted.  For other runlevels, such as if you wanted to run a 
program before rebooting, you would use a different directory (e.g. rc6.d).

Regards,

Michael



 
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