diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-10-06 13:27:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-06 13:27:32 +0100 |
| commit | 7bffb45f931f91416000a483c77e6749ced71206 (patch) | |
| tree | 2cb145da6f406cdf8861162e45238c00ff0a99d8 /src | |
| parent | 714248a44dff73ecf6e51a905e1837a67b784aa5 (diff) | |
| parent | 91a7b5ae10936948a1d21f983a554f03eda411d5 (diff) | |
| download | vyos-1x-7bffb45f931f91416000a483c77e6749ced71206.tar.gz vyos-1x-7bffb45f931f91416000a483c77e6749ced71206.zip | |
Merge pull request #4770 from c-po/wlb-sudo
wlb: T7902: remove explicit calls to sudo
Diffstat (limited to 'src')
| -rwxr-xr-x | src/conf_mode/load-balancing_wan.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/load-balancing_wan.py b/src/conf_mode/load-balancing_wan.py index 8efb33f47..3f2433fa1 100755 --- a/src/conf_mode/load-balancing_wan.py +++ b/src/conf_mode/load-balancing_wan.py @@ -150,9 +150,9 @@ def generate(lb): def apply(lb): if not lb: - cmd(f'sudo systemctl stop {service}') + cmd(f'systemctl stop {service}') else: - cmd(f'sudo systemctl restart {service}') + cmd(f'systemctl restart {service}') call_dependents() |
