Skip to content

Commit 50c2f1c

Browse files
authored
Merge pull request #179 from ap934/remote_management_support
RDKBACCL-781: Remote Management is not working as expected
2 parents 785833d + 8bde86f commit 50c2f1c

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

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)