[Contents] [Prev] [Next] [Index] [Report an Error]

Replacing Event Scripts

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:

  1. Edit or write the new event script.

    For more information on writing event scripts, see Introduction to Writing Automation Scripts.

  2. Copy the new script to the /var/db/scripts/event directory on the hard drive or the /config/scripts/event on the flash drive. Only users in the superuser class can add event scripts to the configuration.
  3. In the CLI operational mode, issue the request system scripts event-scripts reload command.

    Once issued, the request system scrips event-scripts reload command will reload all event scripts back into the eventd process.


[Contents] [Prev] [Next] [Index] [Report an Error]