Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: vk2tpl on February 01, 2004, 01:51:33 AM

Title: how to for "signal-event"
Post by: vk2tpl on February 01, 2004, 01:51:33 AM
Is there a HowTo for "signal-event"?

Trying to learn SME and need to delve a bit deeper.

cheers :-D
Title: how to for "signal-event"
Post by: byte on February 01, 2004, 01:13:27 PM
Hi,

This is no how-to but if you type /sbin/e-smith/signal-event

once you typed that line just press the TAB key once or twice and it will bring up a list of allowed commands so for instance

/sbin/e-smith/signal-event reboot

HTH

btye
Title: how to for "signal-event"
Post by: MasterSleepy on February 01, 2004, 01:27:57 PM
Hi,

You can watch in the directory /etc/e-smith/events
All events are directory except actions witch contain all script for differents events.
If you enter are directory of an action, f ex /etc/e-smith/events/reboot. It contain link to the script called by the signal-events, just like startup sequence  ;-)

Hope this can be usefull

Rgds,
Title: how to for "signal-event"
Post by: Anonymous on February 02, 2004, 09:36:57 AM
Hi,

As said MasterSleepy take a look at /etc/e-smith/events.

But I add one thing, if you want to create your own events, look scripts in directory /etc/e-smith/events/action (or something like that), in this directory, you'll see all scripts called in panels. This scripts are just symbolic links to scripts in /etc/e-smith/events.