更新 'cg_init_machine.sh'

enable snmpd
This commit is contained in:
toby 2023-03-31 11:39:00 +08:00
parent b93befd9ee
commit c55f5fde84
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ fi
sudo cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.bak
sudo curl -L -o /etc/snmp/snmpd.conf https://git.tobyliu.com/toby/common-tools/raw/branch/main/snmpd.conf
sudo systemctl restart snmpd
sudo systemctl enable snmpd
if command -v firewall-cmd >/dev/null 2>&1
then