From dc318d47cd180bd7bb1135fb5f7b00ce25c1c368 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 22 Dec 2019 22:23:52 +0100 Subject: lldp: T393: unlink /etc/lldpd.d/01-vyos.conf on service deletion --- src/conf_mode/lldp.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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: -- cgit v1.2.3