File: snmpd.postinst

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 (23 lines) | stat: -rw-r--r-- 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh

set -e

if [ "x$1" = xconfigure -a "x$2" = x ]; then
    case "$2" in
    3.6-*)
	cat <<EOF
Debian now uses the NET SNMP agent/daemon.  Since the new agent uses
an entirely new configuration file format, any configuration you may
have previously had can not be automatically updated and must be
replaced.  Consequently, a security-conscious configuration will be
installed by default.  Please read the snmpd.conf(5) manual page and
then edit /etc/snmp/snmpd.conf accordingly to change the configuration
to suit your needs.
EOF
	;;
    esac
fi

#DEBHELPER#

exit 0