Hi,
I’d like to ask if it would be possible to add more event related triggers for scripts.
Currently the scripting engine is more or less focused on time based events what is not very practical if you want to script an action for an expected situation… Having ability to run on schedule basis means, that in most scenarios, you have to trigger the script over and over again instead of triggering it at the moment when its really needed - a great example of this is a hook for a PPP interface dialup. If I want to do any action at the moment the interface goes up or down, I need to keep checking it continually for almost no reason… Why there are no hooks for triggering scripts when the ppp interface goes up or down? - the os is well aware about that something like this happens so why we can’t hang a script on it? The same is for the PPP users - why not to enable a script on opening a new connection instead of keeping checking the active users in loop…?
There are many places in the system which would benefit from more trigger actions…
Thanks!