Koozali.org: home of the SME Server

how to for "signal-event"

vk2tpl

how to for "signal-event"
« 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

Offline byte

  • *
  • 2,183
  • +2/-0
how to for "signal-event"
« Reply #1 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
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
how to for "signal-event"
« Reply #2 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,

Anonymous

how to for "signal-event"
« Reply #3 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.