Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

load-scripts-from-flash (Scripts)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 8.5.

Description

Load commit, event, op, SNMP, and library scripts from the device’s flash memory instead of the hard disk.

When you configure this statement, all commit, event, op, SNMP, and script library scripts are loaded from the /config/scripts directory in flash memory under the subdirectory appropriate to the script type. To ensure that the current versions of the scripts are executed, you must manually move scripts from the hard disk to flash memory. They are not moved automatically.

Default

If you do not include the load-scripts-from-flash statement, scripts are executed from the /var/db/scripts directory on the device's hard disk.

Required Privilege Level

maintenance—To view this statement in the configuration.

maintenance-control—To add this statement to the configuration.