From c57b7157daa0a170f9ef76776d493afa123a8d32 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Sun, 27 Aug 2023 23:51:40 +0200 Subject: Try to not delete random MIBs to avoid compiling errors diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh index 7f5592b..a1e65c0 100755 --- a/.github/prepare_debian.sh +++ b/.github/prepare_debian.sh @@ -108,12 +108,13 @@ ssh -tt localhost /dev/null 2>/dev/null & disown %1 # snmpd -for DIR in /usr/share/snmp/mibs /usr/share/mibs; do - rm -f $DIR/ietf/SNMPv2-PDU \ - $DIR/ietf/IPSEC-SPD-MIB \ - $DIR/ietf/IPATM-IPMC-MIB \ - $DIR/iana/IANA-IPPM-METRICS-REGISTRY-MIB -done +service snmpd stop +#for DIR in /usr/share/snmp/mibs /usr/share/mibs; do +# rm -f $DIR/ietf/SNMPv2-PDU \ +# $DIR/ietf/IPSEC-SPD-MIB \ +# $DIR/ietf/IPATM-IPMC-MIB \ +# $DIR/iana/IANA-IPPM-METRICS-REGISTRY-MIB +#done mkdir -p /var/lib/snmp/mib_indexes sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf service snmpd start -- cgit v0.10-9-g596f