diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-07 16:10:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 16:10:33 +0200 |
commit | ab493d5515bd6dd8f844eb673b783479074263f8 (patch) | |
tree | 79dd312bb14b3839b7d68582932396772d0dd55a /.github/prepare_debian.sh | |
parent | c5e90822d7db1db504e19007a7078d1fa09267f2 (diff) | |
parent | 15d7ca8eb1edec26a44d361b57e53831f5c765f7 (diff) | |
download | monitoring-plugins-ab493d5.tar.gz |
Merge branch 'master' into compiler_warning_part_3
Diffstat (limited to '.github/prepare_debian.sh')
-rwxr-xr-x | .github/prepare_debian.sh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh index 7f5592b4..dcf778bc 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 |
@@ -121,7 +116,11 @@ service snmpd start | |||
121 | # start cron, will be used by check_nagios | 116 | # start cron, will be used by check_nagios |
122 | cron | 117 | cron |
123 | 118 | ||
124 | # start postfix | 119 | # postfix |
120 | cat <<EOD >> /etc/postfix/master.cf | ||
121 | smtps inet n - n - - smtpd | ||
122 | -o smtpd_tls_wrappermode=yes | ||
123 | EOD | ||
125 | service postfix start | 124 | service postfix start |
126 | 125 | ||
127 | # start ftpd | 126 | # start ftpd |