Merge "config-files: install the init script for snmpd"
authorXiaohua Zhang <xiaohua.zhang@windriver.com>
Sun, 26 Apr 2020 14:33:04 +0000 (14:33 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Sun, 26 Apr 2020 14:33:04 +0000 (14:33 +0000)
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