Koozali.org: home of the SME Server

console-save

John Crisp

console-save
« on: November 06, 2002, 09:34:21 PM »
Stupid question perhaps, but I haven't found the answer.

When do need to use, and what does /sbin/e-smith/signal-event console-save do ?

Presumably checks templates and restarts services. But I can't see any docs on it.

Any help appreciated.

B. Rgds
John

Ray Mitchell

Re: console-save
« Reply #1 on: November 07, 2002, 09:10:19 AM »
John

These links from e-smith.org may help you discover more.

http://www.e-smith.org/intro/
http://www.e-smith.org/philosophy/
http://www.e-smith.org/architecture/
http://www.e-smith.org/concepts/
http://www.e-smith.org/custom/

http://www.e-smith.org/docs/

http://www.e-smith.org/docs/howto/

http://www.e-smith.org/docs/papers/

http://www.e-smith.org/faq.php3

and from http://www.e-smith.org/concepts/
"You can change the actions performed by an event by changing the links in the event's directory. You can create a new event by creating another subdirectory of /etc/e-smith/events.

The program /sbin/e-smith/signal-event takes an event name as an argument, and executes all the actions in that event, directing all output to the system log. It works by listing the symbolic links in the event directory and executing them in sequence. So for example, the command:

/sbin/e-smith/signal-event console-save

will perform all the actions associated with the console-save event. (This is exactly what the console user interface does when you select save.) "

Hope this illuminates things a bit more
Regards
Ray Mitchell

John Crisp

Re: console-save
« Reply #2 on: November 07, 2002, 12:30:05 PM »
Got it.

Many thanks.

B. Rgds
John