Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Klaus Eckert on December 05, 2003, 05:55:54 AM

Title: "reboot" or "/sbin/e-smith/signal-event reboot"
Post by: Klaus Eckert on December 05, 2003, 05:55:54 AM
what is the difference between "reboot" and "/sbin/e-smith/signal-event reboot"?

what is recommended for use?

which other events are available?

cheers klaus
Title: Re: "reboot" or "/sbin/e-smith/signal-event reboot"
Post by: Boris on December 05, 2003, 11:50:09 PM
Take a look in the /et/e-smith/events folder
All available events are represented as folders with one or more scripts inside.
Calling "signal-event eventname" has similar effect as calling batch job with one or more scripts included.
Title: Re: "reboot" or "/sbin/e-smith/signal-event reboot"
Post by: Kelvin on December 06, 2003, 08:41:57 AM
Hi Klaus,

On a stock SME install (ie. with no add-ons), signal-event reboot does not do any more than just reboot itself. The e-smith reboot event is useful for any software / add-ons / etc that might need clear-down / shutdown procedure(s) to be done before rebooting. You would then put these instructions to be called from the e-smith reboot event.

Kelvin