File: snmpd.postrm

package info (click to toggle)
net-snmp 5.1.2-6.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 19,340 kB
  • ctags: 12,062
  • sloc: ansic: 134,798; perl: 10,855; sh: 10,237; makefile: 5,003
file content (15 lines) | stat: -rw-r--r-- 235 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

set -e

if [ $1 = purge ]; then  
    rm -f /var/lib/snmp/snmpd.conf*
    rm -f /var/lib/snmp/snmptrapd.conf*
    rm -f /var/run/agentx
    rm -f /var/run/snmpd.pid
    rm -f /var/run/snmptrapd.pid
fi 

#DEBHELPER#

exit 0