File: snmptrapd.postrm

package info (click to toggle)
net-snmp 5.7.3+dfsg-1.7+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 36,644 kB
  • sloc: ansic: 273,409; sh: 18,392; perl: 17,097; makefile: 3,750; xml: 684; python: 495; pascal: 62; sql: 47
file content (12 lines) | stat: -rw-r--r-- 141 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

set -e

#DEBHELPER#

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

exit 0