#!/bin/bash

# stopSNMPD
#
# Usage:
#    stopSNMPD <pid> <pid file>
#
# Description:
#    This script stops the SNMP daemon for the console by killing the
#    snmpd process as specified by the pid contained in the pid file.
#
# Return Codes
#    0: normal script termination; no unrecoverable errors
#    1: error stoping the SNMP daemon
#
# Module History
#    00  03/12/2003  P. Provost  - Initial Release
#        09/11/2007  M. Clark    - Changed to use killall

#PID=$1
#PIDFILE=$2

# kill the snmpd process as specified by the pid
killall -9 snmpd

# delete the associated pid file
#rm -f $PIDFILE
