From 6cfcaf2a035c92900d2ae5874fbb1818cbd2d097 Mon Sep 17 00:00:00 2001 From: remittor Date: Fri, 18 Oct 2024 10:11:30 +0300 Subject: [PATCH] luci: Fix path to main zapret script --- .../htdocs/luci-static/resources/view/zapret/tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js index ed751e8..a7f3545 100644 --- a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js +++ b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js @@ -36,7 +36,7 @@ document.head.append(E('style', {'type': 'text/css'}, return baseclass.extend({ appName : 'zapret', - execPath : '/opt/zapret/init.d/openwrt/zapret', + execPath : '/etc/init.d/zapret', hostsUserFN : '/opt/zapret/ipset/zapret-hosts-user.txt', hostsUserExcludeFN: '/opt/zapret/ipset/zapret-hosts-user-exclude.txt', iplstExcludeFN : '/opt/zapret/ipset/zapret-ip-exclude.txt',