Multiple preset event triggers?

Zaid Abdulla zaid at genieacs.com
Thu Mar 23 18:45:08 EDT 2017


On Thu, 2017-03-23 at 14:22 -0800, Dan Morphis wrote:
> I'd like to have multiple events trigger a provision. I put this in
> the events line:
> 0 BOOTSTRAP, 1 BOOT, 2 PERIODIC, 8 DIAGNOSTICS COMPLETE
> 
> The provision script is not executed. If I change the events line to
> contain a single event the preset executes the provision script as
> expected.

All the event codes need to be present in the session for the preset to
be triggered. You'll need to create one preset for each event, or remov
e all events and do your checks in the script.

-- 
Zaid Abdulla <zaid at genieacs.com>


More information about the Users mailing list