fix wo_wan variable

This commit is contained in:
VirtuBox
2019-04-29 00:54:37 +02:00
parent 264d014c5d
commit 0508592d2a

View File

@@ -1155,7 +1155,7 @@ class WOStackController(CementBaseController):
WOExtract.extract(self, '/tmp/wo-dashboard.tar.gz',
'{0}22222/htdocs'
.format(WOVariables.wo_webroot))
if WOVariables.wo_wan_interface != 'eth0':
if WOVariables.wo_wan != 'eth0':
WOFileUtils.searchreplace(self, "{0}22222/htdocs/index.php"
.format(WOVariables.wo_webroot),
"eth0",