Specifying a Master Source for an Event Script

You can store a master copy of each event script in a central repository. This eases file management because you can make changes to the master event script in one place and then update the copy on each device where the event script is currently enabled.

To define the location of the master source file for an event script, include the source statement at the [edit event-options event-script file filename] hierarchy level:

[edit event-options event-script file filename]source url;

The following example specifies an HTTP URL as the remote source for the iso.xsl file:

[edit event-options event-script]file iso.xsl {source http://my.example.com/pub/scripts/iso.xsl;}

Including the source statement in the configuration does not affect the local copy of the event script until you issue the set refresh command as described in Updating an Event Script from the Master Source. At that point, the master copy is retrieved from the specified URL and overwrites the local copy.