Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: zab on June 22, 2010, 10:28:31 PM

Title: Do action on TCL reboot
Post by: zab on June 22, 2010, 10:28:31 PM
Hi List,

I'd like to stop a service on TCL reboot.
Is there a file for that similar to "/opt/shutdown.sh" (as I use this to stop my services on halt)?

Regards
Zabrane
Title: Re: Do action on TCL reboot
Post by: ^thehatsrule^ on June 23, 2010, 12:34:46 AM
I think shutdown.sh is called upon both reboot and poweroff

Are you asking about something else?
Title: Re: Do action on TCL reboot
Post by: zab on June 23, 2010, 12:40:07 AM
Quote
I think shutdown.sh is called upon both reboot and poweroff

Excellent.

Quote
Are you asking about something else?

No, this is exactly what I needed to know.
Thanks again !