summaryrefslogtreecommitdiff
path: root/src/conf_mode/igmp_proxy.py
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-05-19 21:13:40 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-05-19 21:13:40 +0100
commit43dd945c5a45c86c491892f30546d0179751bf4a (patch)
tree9e30f8270347717726dc137b61b5034d90f05072 /src/conf_mode/igmp_proxy.py
parent3458a8b50853ecd032ebc3ee87f00452ac73ebcd (diff)
downloadvyos-1x-43dd945c5a45c86c491892f30546d0179751bf4a.tar.gz
vyos-1x-43dd945c5a45c86c491892f30546d0179751bf4a.zip
util: T2467: add systemctl to autosudo
Diffstat (limited to 'src/conf_mode/igmp_proxy.py')
-rwxr-xr-xsrc/conf_mode/igmp_proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/igmp_proxy.py b/src/conf_mode/igmp_proxy.py
index 9fa591a2c..9cd7163f0 100755
--- a/src/conf_mode/igmp_proxy.py
+++ b/src/conf_mode/igmp_proxy.py
@@ -121,7 +121,7 @@ def generate(igmp_proxy):
def apply(igmp_proxy):
if igmp_proxy is None or igmp_proxy['disable']:
# IGMP Proxy support is removed in the commit
- call('sudo systemctl stop igmpproxy.service')
+ call('systemctl stop igmpproxy.service')
if os.path.exists(config_file):
os.unlink(config_file)
else: