Skip to content

Commit 47a6f63

Browse files
authored
Merge branch 'develop' into 814
2 parents fe64320 + 6eadafe commit 47a6f63

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

meta-rdk-mtk-bpir4/recipes-ccsp/ccsp/ccsp-common-library.bbappend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ do_install_append_class-target() {
2626
install -D -m 0644 ${S}/systemd_units/wan-initialized.target ${D}${systemd_unitdir}/system/wan-initialized.target
2727
install -D -m 0644 ${S}/systemd_units/wan-initialized.path ${D}${systemd_unitdir}/system/wan-initialized.path
2828
sed -i "s/CcspCrSsp.service CcspPandMSsp.service/CcspCrSsp.service RdkWanManager.service/g" ${D}${systemd_unitdir}/system/CcspEthAgent.service
29+
sed -i "/device.properties/a ExecStartPre=/bin/sh -c '(/usr/ccsp/utopiaInitCheck.sh)'" ${D}${systemd_unitdir}/system/CcspPandMSsp.service
2930
DISTRO_WAN_ENABLED="${@bb.utils.contains('DISTRO_FEATURES','rdkb_wan_manager','true','false',d)}"
3031
if [ $DISTRO_WAN_ENABLED = 'true' ]; then
3132
sed -i "s/After=CcspCrSsp.service utopia.service PsmSsp.service CcspEthAgent.service/After=CcspCrSsp.service PsmSsp.service/g" ${D}${systemd_unitdir}/system/RdkWanManager.service

meta-rdk-mtk-bpir4/recipes-ccsp/util/utopia.bbappend

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ echo "#SelfHeal
8484
#Custom Data Model
8585
$custom_data_model_enabled=0
8686
$custom_data_model_file_name=/usr/ccsp/tr069pa/custom_mapper.xml" >> ${D}${sysconfdir}/utopia/system_defaults
87+
88+
#Remote management
89+
sed -i 's/^\(\$mgmt_wan_httpsaccess=\)0/\11/' ${D}${sysconfdir}/utopia/system_defaults
90+
sed -i 's/^\(\$mgmt_wan_httpaccess=\)1/\10/' ${D}${sysconfdir}/utopia/system_defaults
91+
sed -i 's/^\(\$mgmt_wan_httpsport=\)443/\18181/' ${D}${sysconfdir}/utopia/system_defaults
92+
sed -i '/mgmt_wan_httpaccess/i \$mgmt_wan_httpaccess_ert=1' ${D}${sysconfdir}/utopia/system_defaults
93+
8794
}
8895

8996
FILES_${PN} += " \
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
#Remote Management
3+
do_install_append(){
4+
sed -i '$ a include_shell "sh /etc/webgui_config.sh"' ${D}${sysconfdir}/lighttpd.conf
5+
}
6+

0 commit comments

Comments
 (0)