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

Adding Commit Scripts to the Configuration

To add a commit script to the configuration, follow these steps:

  1. Ensure that the commit script is located in the correct commit script directory. Commit scripts that are located on the hard drive should be placed in the /var/db/scripts/commit directory. Commit scripts that are located on the CompactFlash drive should be located in the /config/scripts/commit directory. For more information on commit scripts and memory location, see Storing the Commit Scripts.
  2. Add the script to the [edit system scripts commit] hierarchy level:
    set system scripts commit file filename [optional]
  3. Commit your changes:
    commit

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