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 7b2161f..fd3368b 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 @@ -46,7 +46,7 @@ return view.extend({ tools.getInitState(tools.appName), // svc_boot fs.exec(tools.execPath, [ 'enabled' ]), // svc_en fs.exec(tools.execPath, [ 'info' ]), // svc_info - fs.exec('/bin/ps'), // process list + fs.exec('/bin/busybox', [ 'ps' ]), // process list fs.exec(tools.packager.path, tools.packager.args), // installed packages uci.load(tools.appName), // config ]).catch(e => { diff --git a/luci-app-zapret/root/usr/share/rpcd/acl.d/luci-app-zapret.json b/luci-app-zapret/root/usr/share/rpcd/acl.d/luci-app-zapret.json index 71091b2..18e9617 100644 --- a/luci-app-zapret/root/usr/share/rpcd/acl.d/luci-app-zapret.json +++ b/luci-app-zapret/root/usr/share/rpcd/acl.d/luci-app-zapret.json @@ -8,7 +8,7 @@ "/opt/zapret/ipset/*": [ "read" ], "/etc/crontabs/root": [ "read" ], "/etc/init.d/zapret*": [ "exec" ], - "/bin/ps*": [ "exec" ], + "/bin/busybox*": [ "exec" ], "/bin/opkg*": [ "exec" ], "/usr/bin/apk*": [ "exec" ], "/opt/zapret/restore-def-cfg.sh*": [ "exec" ],