mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-14 15:36:49 +03:00
luci: Forced use busybox ps
This commit is contained in:
@@ -46,7 +46,7 @@ return view.extend({
|
|||||||
tools.getInitState(tools.appName), // svc_boot
|
tools.getInitState(tools.appName), // svc_boot
|
||||||
fs.exec(tools.execPath, [ 'enabled' ]), // svc_en
|
fs.exec(tools.execPath, [ 'enabled' ]), // svc_en
|
||||||
fs.exec(tools.execPath, [ 'info' ]), // svc_info
|
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
|
fs.exec(tools.packager.path, tools.packager.args), // installed packages
|
||||||
uci.load(tools.appName), // config
|
uci.load(tools.appName), // config
|
||||||
]).catch(e => {
|
]).catch(e => {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"/opt/zapret/ipset/*": [ "read" ],
|
"/opt/zapret/ipset/*": [ "read" ],
|
||||||
"/etc/crontabs/root": [ "read" ],
|
"/etc/crontabs/root": [ "read" ],
|
||||||
"/etc/init.d/zapret*": [ "exec" ],
|
"/etc/init.d/zapret*": [ "exec" ],
|
||||||
"/bin/ps*": [ "exec" ],
|
"/bin/busybox*": [ "exec" ],
|
||||||
"/bin/opkg*": [ "exec" ],
|
"/bin/opkg*": [ "exec" ],
|
||||||
"/usr/bin/apk*": [ "exec" ],
|
"/usr/bin/apk*": [ "exec" ],
|
||||||
"/opt/zapret/restore-def-cfg.sh*": [ "exec" ],
|
"/opt/zapret/restore-def-cfg.sh*": [ "exec" ],
|
||||||
|
|||||||
Reference in New Issue
Block a user