summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-20 16:58:43 +0100
committerChristian Poessinger <christian@poessinger.com>2022-11-20 17:00:29 +0100
commitda5bff2e835a14997d7b176670376cbd8d1221ef (patch)
tree1112b905e60334c40d67119611372f75900940e9 /data
parentd34240d218998b81d5ff7fbfb4afbec39bf620e9 (diff)
downloadvyos-1x-da5bff2e835a14997d7b176670376cbd8d1221ef.tar.gz
vyos-1x-da5bff2e835a14997d7b176670376cbd8d1221ef.zip
op-mode: dns-forwarding: T4578: drop sudo calls
Commit 66288ccfee ("dns-forwarding: T4578: Rewrite show dns forwarding") added the implementation for the new standardized op-mode definitions/implementation. As the API daemon has the proper permissions and also the CLI op-mode calls the script already with "sudo", there is no need to call "sudo" inside this script, again. Also add dns.py to data/op-mode-standardized.json for the GraphQL schema to be generated.
Diffstat (limited to 'data')
-rw-r--r--data/op-mode-standardized.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/op-mode-standardized.json b/data/op-mode-standardized.json
index b162f4097..1509975b4 100644
--- a/data/op-mode-standardized.json
+++ b/data/op-mode-standardized.json
@@ -6,6 +6,7 @@
"container.py",
"cpu.py",
"dhcp.py",
+"dns.py",
"log.py",
"memory.py",
"nat.py",