developer | 783a8a6 | 2024-01-17 12:34:31 +0800 | [diff] [blame] | 1 | SRC_URI_remove = " \ |
| 2 | file://CiscoXB3-2774.patch \ |
| 3 | " |
| 4 | |
| 5 | do_install_append_broadband() { |
| 6 | sed -i "s/ExecStart=\/usr\/sbin\/snmpd \$OPTIONS \-a \-f/#ExecStart=\/usr\/sbin\/snmpd \$OPTIONS \-a \-f/g" ${D}${systemd_unitdir}/system/snmpd.service |
| 7 | sed -i "/#ExecStart=\/usr\/sbin\/snmpd \$OPTIONS \-a \-f/a ExecStart=\/usr\/sbin\/snmpd \-f \-C \-c \/usr\/ccsp\/snmp\/snmpd.conf \-M \/usr\/share\/snmp\/mibs \-Le" ${D}${systemd_unitdir}/system/snmpd.service |
| 8 | sed -i "/ExecReload/a Restart=always" ${D}${systemd_unitdir}/system/snmpd.service |
| 9 | } |