Storing Event Scripts in Flash Memory

By default, event scripts are stored in the /var/db/scripts/event directory on the device's hard drive. To store them in flash memory instead, include the load-scripts-from-flash statement at the [edit system scripts] hierarchy level:

[edit system scripts]load-scripts-from-flash;

The load-scripts-from-flash statement applies to all commit, operation, and event scripts. Event scripts are stored in the /config/scripts/event directory in flash memory. Changing the scripts’ physical location has no effect on their operation.

Note: When you add or remove the load-scripts-from-flash statement in the configuration, you must manually move scripts from the hard drive to the flash drive, or vice versa, as appropriate. They are not moved automatically.