#!/bin/sh # NGOP farm worker node startup/shutdown script template. # Administrator: edit the following definitions: # chkconfig: 345 99 10 # description: Startup for ngop functions . /fnal/ups/etc/setups.sh USER=root export USER setup ngop case "$1" in start) #just in case ngop stop # start all Agents ngop start ;; stop) # shutdown ngop ngop stop ;; *) echo "usage: $0 {start|stop}" ;; esac exit 0 exit 0