luci: updater: Add new func tools.execAndRead

This commit is contained in:
remittor
2026-01-10 20:51:11 +03:00
parent 17afabe150
commit ab50c2099b
3 changed files with 170 additions and 126 deletions

View File

@@ -6,6 +6,7 @@ return baseclass.extend({
appName : 'zapret2',
AppName : 'Zapret2',
execPath : '/etc/init.d/zapret2',
appDir : '/opt/zapret2',
syncCfgPath : '/opt/zapret2/sync_config.sh',
defCfgPath : '/opt/zapret2/def-cfg.sh',
defaultCfgPath : '/opt/zapret2/restore-def-cfg.sh',