blob: 160a037473a1b07b263fd8eeeda5f7edd2e1a2f2 [file] [log] [blame]
developer783a8a62024-01-17 12:34:31 +08001SRC_URI_remove = " \
2 file://CiscoXB3-2774.patch \
3"
4
5do_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}