diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-22 22:23:52 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-22 22:24:37 +0100 |
commit | dc318d47cd180bd7bb1135fb5f7b00ce25c1c368 (patch) | |
tree | c22b7d6eada63b6f81f2ba3f361f4e130e69caa4 /src | |
parent | 70531105859843441d355f6655f237ab9736a48f (diff) | |
download | vyos-1x-dc318d47cd180bd7bb1135fb5f7b00ce25c1c368.tar.gz vyos-1x-dc318d47cd180bd7bb1135fb5f7b00ce25c1c368.zip |
lldp: T393: unlink /etc/lldpd.d/01-vyos.conf on service deletion
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/lldp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/lldp.py b/src/conf_mode/lldp.py index da01de56f..d8b8cb77e 100755 --- a/src/conf_mode/lldp.py +++ b/src/conf_mode/lldp.py @@ -299,6 +299,7 @@ def apply(lldp): # LLDP service has been terminated os.system('sudo systemctl stop lldpd.service') os.unlink(config_file) + os.unlink(vyos_config_file) if __name__ == '__main__': try: |