summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <lorenz.kaestle@netways.de>2023-08-28 13:05:44 +0200
committerLorenz Kästle <lorenz.kaestle@netways.de>2023-08-28 13:05:44 +0200
commit70d0457562d58c16acd2a3514c9e4cc3f07ec923 (patch)
tree61d94e718fe0a0a5ffddb82ad69b3750a5833a37
parentfcc883efe3926f28c2170006254c7520783d8c9e (diff)
downloadmonitoring-plugins-70d0457.tar.gz
Remove dead code from test machine prepare script
-rwxr-xr-x.github/prepare_debian.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index a1e65c04..9611670d 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -109,12 +109,6 @@ disown %1
109 109
110# snmpd 110# snmpd
111service snmpd stop 111service snmpd stop
112#for DIR in /usr/share/snmp/mibs /usr/share/mibs; do
113# rm -f $DIR/ietf/SNMPv2-PDU \
114# $DIR/ietf/IPSEC-SPD-MIB \
115# $DIR/ietf/IPATM-IPMC-MIB \
116# $DIR/iana/IANA-IPPM-METRICS-REGISTRY-MIB
117#done
118mkdir -p /var/lib/snmp/mib_indexes 112mkdir -p /var/lib/snmp/mib_indexes
119sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf 113sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf
120service snmpd start 114service snmpd start