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