Please add more script hooks

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!

Currently it is not possible only for ppp (modem interface). Other ppp type interfaces (pptp, sstp, l2tp …) already have this feature.

Hi,
How do I add that? I have some PPTP client interfaces and OVPN servers but I don’t see any place where to define the script to trigger on dialup/hang up or client connect…
On the profile level?

in ppp profile there are parameters on-down, on-up