config-files: install the init script for snmpd 64/3464/1
authorJackie Huang <jackie.huang@windriver.com>
Sun, 26 Apr 2020 09:28:09 +0000 (17:28 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Sun, 26 Apr 2020 09:53:59 +0000 (17:53 +0800)
install the init script into /etc/init.d for snmpd
to align with stx 3.0.

Issue-ID: INF-32
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I2fa4c3c3dec61d9a3025d5bcb0c3eee67bdf7f2f

meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb

index 33d3b77..4fdfddf 100644 (file)
@@ -411,6 +411,7 @@ pkg_postinst_ontarget_net-snmp-config() {
 
        install -m 644 ${SRCPATH}/stx.snmpd.conf    ${datadir}/starlingx/stx.snmpd.conf
        install -m 755 ${SRCPATH}/stx.snmpd         ${sysconfdir}/rc.d/init.d/snmpd
+       install -m 755 ${SRCPATH}/stx.snmpd         ${sysconfdir}/init.d/snmpd
        install -m 660 ${SRCPATH}/stx.snmp.conf     ${datadir}/snmp/snmp.conf
        install -m 644 ${SRCPATH}/snmpd.service     ${sysconfdir}/systemd/system/snmpd.service