The distribution nsdstop file:
#! /bin/sh
# Script for shuting down the NSDOM pathway environment
# Tell pathmon to shut down.
gtacl -p pathcom \$${MY_PREFIX}ndm > /dev/null 2>&1 <<eof
shutdown2, mode im, status ag
eof
# Just in case pathway wasn't configured, kill the pathmon process.
# If the shutdown above worked, this will have no effect since
# the pathmon process is gone. Otherwise this gets rid of the
# pathmon process.
kill -s GUARDIAN /G/${MY_PREFIX}ndm > /dev/null 2>&1
|