WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Do action on TCL reboot  (Read 1903 times)

Offline zab

  • Jr. Member
  • **
  • Posts: 51
Do action on TCL reboot
« 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

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Do action on TCL reboot
« Reply #1 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?

Offline zab

  • Jr. Member
  • **
  • Posts: 51
Re: Do action on TCL reboot
« Reply #2 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 !