Adding Simple Scripts To The NST ISO

Using the nstnewscript will give one a good start on a new script. However, it does not add the script to the NST distribution. If the new script you are creating is to be included with the distribution, a developer has two options:

To add your script to the installation script, you need to update the array of script names which installs. Look for NSTSCRIPT in . It should resemble:

# Array of NST scripts this installation script will install
NSTSCRIPT_LIST=(
 lddcheck
 nstsetproxy
 null-modem-ppp
)

Note

By default, scripts are installed such that they can be found under /usr/local/bin. If your script needs to be placed under /root/bin, they you will need to add the name of your script to the NSTSCRIPTS_ROOT_LIST as well as NSTSCRIPT_LIST.