summaryrefslogtreecommitdiff
path: root/op-mode-definitions/dns-forwarding.xml
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2018-06-23 23:51:10 +0200
committerRunar Borge <runar@borge.nu>2018-06-23 23:51:10 +0200
commit598f1e0385c3e3d797ebe172d4e9acba88038993 (patch)
tree1b2172d3086f3c0a45daeefdb00fca2f6b2132ee /op-mode-definitions/dns-forwarding.xml
parentd4e3868629fd097c57ff6c47fe60b83ba4c3e272 (diff)
parent4c6282a43bc1a2ddfe690eef88536cfcd2b88535 (diff)
downloadvyos-1x-598f1e0385c3e3d797ebe172d4e9acba88038993.tar.gz
vyos-1x-598f1e0385c3e3d797ebe172d4e9acba88038993.zip
Merge branch 'current' of git://github.com/vyos/vyos-1x into current
Diffstat (limited to 'op-mode-definitions/dns-forwarding.xml')
-rw-r--r--op-mode-definitions/dns-forwarding.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/dns-forwarding.xml b/op-mode-definitions/dns-forwarding.xml
index b072fab79..e789f4aee 100644
--- a/op-mode-definitions/dns-forwarding.xml
+++ b/op-mode-definitions/dns-forwarding.xml
@@ -14,7 +14,7 @@
<properties>
<help>Show DNS forwarding statistics</help>
</properties>
- <command>${vyos_op_scripts_dir}/dns_forwarding_statistics.py</command>
+ <command>sudo ${vyos_op_scripts_dir}/dns_forwarding_statistics.py</command>
</leafNode>
</children>
</node>
@@ -33,7 +33,7 @@
<properties>
<help>Restart DNS forwarding service</help>
</properties>
- <command>${vyos_op_scripts_dir}/dns_forwarding_restart.sh</command>
+ <command>sudo ${vyos_op_scripts_dir}/dns_forwarding_restart.sh</command>
</leafNode>
</children>
</node>
@@ -52,13 +52,13 @@
</properties>
<children>
<tagNode name="domain">
- <command>${vyos_op_scripts_dir}/dns_forwarding_reset.py $5</command>
+ <command>sudo ${vyos_op_scripts_dir}/dns_forwarding_reset.py $5</command>
<properties>
<help>Reset DNS forwarding cache for a domain</help>
</properties>
</tagNode>
<leafNode name="all">
- <command>${vyos_op_scripts_dir}/dns_forwarding_reset.py --all</command>
+ <command>sudo ${vyos_op_scripts_dir}/dns_forwarding_reset.py --all</command>
<properties>
<help>Reset DNS forwarding cache</help>
</properties>