diff options
Diffstat (limited to 'applications/luci-app-ddns/root')
-rwxr-xr-x[-rw-r--r--] | applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns | 2 | ||||
-rw-r--r-- | applications/luci-app-ddns/root/usr/share/rpcd/acl.d/luci-app-ddns.json | 34 |
2 files changed, 18 insertions, 18 deletions
diff --git a/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns b/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns index 01a9d4c5db..8ba4ad3165 100644..100755 --- a/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns +++ b/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns @@ -262,7 +262,7 @@ local methods = { local function check_certs() local _, v = fs.glob("/etc/ssl/certs/*.crt") - if ( v == 0 ) then _, v = NXFS.glob("/etc/ssl/certs/*.pem") end + if ( v == 0 ) then _, v = fs.glob("/etc/ssl/certs/*.pem") end return (v > 0) end diff --git a/applications/luci-app-ddns/root/usr/share/rpcd/acl.d/luci-app-ddns.json b/applications/luci-app-ddns/root/usr/share/rpcd/acl.d/luci-app-ddns.json index aa68bdf03c..dfefd8e96a 100644 --- a/applications/luci-app-ddns/root/usr/share/rpcd/acl.d/luci-app-ddns.json +++ b/applications/luci-app-ddns/root/usr/share/rpcd/acl.d/luci-app-ddns.json @@ -1,17 +1,17 @@ -{
- "luci-app-ddns": {
- "description": "Grant access to ddns procedures",
- "read": {
- "ubus": {
- "luci.ddns": [ "get_services_status", "get_ddns_state", "get_env", "get_services_log" ],
- "luci": [ "setInitAction" ],
- },
- "file": {
- "/etc/ddns/services": [ "read" ],
- "/etc/ddns/services_ipv6": [ "read" ],
- "/usr/lib/ddns/dynamic_dns_lucihelper.sh": [ "exec" ]
- },
- "uci": [ "ddns" ]
- }
- }
-}
+{ + "luci-app-ddns": { + "description": "Grant access to ddns procedures", + "read": { + "ubus": { + "luci.ddns": [ "get_services_status", "get_ddns_state", "get_env", "get_services_log" ], + "luci": [ "setInitAction" ], + }, + "file": { + "/etc/ddns/services": [ "read" ], + "/etc/ddns/services_ipv6": [ "read" ], + "/usr/lib/ddns/dynamic_dns_lucihelper.sh": [ "exec" ] + }, + "uci": [ "ddns" ] + } + } +} |