You do not need to change the router’s configuration to update or replace an existing event script. You can replace event scripts in the /var/db/scripts/event or the /config/scripts/event directories and then refresh the scripts within the eventd process using the the request system scripts event-scripts reload command. This command allows you to update event scripts without disrupting the operation of the router.
To replace event scripts, follow these steps:
For more information on writing event scripts, see Introduction to Writing Automation Scripts.
Once issued, the request system scrips event-scripts reload command will reload all event scripts back into the eventd process.