diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-08-30 09:36:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-30 09:36:53 +0200 |
commit | aa76eece10aebfb9977614b0038fcdc742b3f104 (patch) | |
tree | 6461802dc9db220c11815ec2df6a2376ceeb1921 /.github/prepare_debian.sh | |
parent | c47f44d897680d09841f8e787964de40063ea34c (diff) | |
parent | 554c1433cf624cd0ed0565e4a8d06ea5e4bdf942 (diff) | |
download | monitoring-plugins-aa76eec.tar.gz |
Merge branch 'master' into compiler_warning_part_5
Diffstat (limited to '.github/prepare_debian.sh')
-rwxr-xr-x | .github/prepare_debian.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh index 7f5592b4..9611670d 100755 --- a/.github/prepare_debian.sh +++ b/.github/prepare_debian.sh | |||
@@ -108,12 +108,7 @@ ssh -tt localhost </dev/null >/dev/null 2>/dev/null & | |||
108 | disown %1 | 108 | disown %1 |
109 | 109 | ||
110 | # snmpd | 110 | # snmpd |
111 | for DIR in /usr/share/snmp/mibs /usr/share/mibs; do | 111 | service snmpd stop |
112 | rm -f $DIR/ietf/SNMPv2-PDU \ | ||
113 | $DIR/ietf/IPSEC-SPD-MIB \ | ||
114 | $DIR/ietf/IPATM-IPMC-MIB \ | ||
115 | $DIR/iana/IANA-IPPM-METRICS-REGISTRY-MIB | ||
116 | done | ||
117 | mkdir -p /var/lib/snmp/mib_indexes | 112 | mkdir -p /var/lib/snmp/mib_indexes |
118 | sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf | 113 | sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf |
119 | service snmpd start | 114 | service snmpd start |