diff --git a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/service.js b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/service.js index b5abafa..3d69b74 100644 --- a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/service.js +++ b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/service.js @@ -254,7 +254,12 @@ return view.extend({ }, load: function() { - return this.getAppStatus(); + var _this = this; + return Promise.all([ + L.resolveDefault(fs.stat('/bin/cat'), null), + ]).then(function(data) { + return _this.getAppStatus(); + }); }, render: function(status_array) {