From 4c6282a43bc1a2ddfe690eef88536cfcd2b88535 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sat, 23 Jun 2018 00:29:22 +0200 Subject: T689, T707: insert sudo where necessary in op mode command definitions. --- op-mode-definitions/dns-forwarding.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'op-mode-definitions') 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 @@ Show DNS forwarding statistics - ${vyos_op_scripts_dir}/dns_forwarding_statistics.py + sudo ${vyos_op_scripts_dir}/dns_forwarding_statistics.py @@ -33,7 +33,7 @@ Restart DNS forwarding service - ${vyos_op_scripts_dir}/dns_forwarding_restart.sh + sudo ${vyos_op_scripts_dir}/dns_forwarding_restart.sh @@ -52,13 +52,13 @@ - ${vyos_op_scripts_dir}/dns_forwarding_reset.py $5 + sudo ${vyos_op_scripts_dir}/dns_forwarding_reset.py $5 Reset DNS forwarding cache for a domain - ${vyos_op_scripts_dir}/dns_forwarding_reset.py --all + sudo ${vyos_op_scripts_dir}/dns_forwarding_reset.py --all Reset DNS forwarding cache -- cgit v1.2.3