diff options
author | Nick Peng <pymumu@gmail.com> | 2022-10-11 23:32:49 +0800 |
---|---|---|
committer | Nick Peng <pymumu@gmail.com> | 2022-10-11 23:40:15 +0800 |
commit | 5ec6f58c023c69edcd79cf8e2801c5c77dbbb29b (patch) | |
tree | 961f1af841de8b3ea8a61e011d084b1b97a3ee6d /applications/luci-app-smartdns/root/usr/share | |
parent | 6ba9d0c6182258ffb29eef842fa8c78d1f94ba23 (diff) |
luci-app-smartdns: Fix RPC error and add restart button
Signed-off-by: Nick Peng <pymumu@gmail.com>
Diffstat (limited to 'applications/luci-app-smartdns/root/usr/share')
-rw-r--r-- | applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json b/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json index 17cb0e3b0c..22cba75732 100644 --- a/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json +++ b/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json @@ -4,7 +4,8 @@ "read": { "file": { "/etc/smartdns/*": [ "read" ], - "/usr/sbin/smartdns": [ "exec" ] + "/usr/sbin/smartdns": [ "exec" ], + "/etc/init.d/smartdns restart" : [ "exec" ] }, "ubus": { "service": [ "list" ] |