Storing Op Scripts in Flash Memory
By default, operation (op) scripts are stored
in the /var/db/scripts/op 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; op scripts are stored
in the /config/scripts/op 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. |
Hide Navigation Pane
Show Navigation Pane
Download
SHA1
