From 168017789e0e21d210c78f1a401083bbbc2196cb Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Sun, 26 Apr 2020 17:28:09 +0800 Subject: [PATCH] config-files: install the init script for snmpd 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 Change-Id: I2fa4c3c3dec61d9a3025d5bcb0c3eee67bdf7f2f --- meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb b/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb index 33d3b77..4fdfddf 100644 --- a/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb +++ b/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb @@ -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 -- 2.16.6