diff --git a/naxalnet/__init__.py b/naxalnet/__init__.py index 27941fb..03949a2 100644 --- a/naxalnet/__init__.py +++ b/naxalnet/__init__.py @@ -35,4 +35,4 @@ See README.md for documentation. # # In case you forgot to change the version, skip the number # and put the next number in the next commit. -__version__ = "0.4.0a5.dev5" +__version__ = "0.4.0a5.dev6" diff --git a/naxalnet/scripts.py b/naxalnet/scripts.py index 3cd6561..27b5389 100644 --- a/naxalnet/scripts.py +++ b/naxalnet/scripts.py @@ -200,10 +200,13 @@ def cleanup(): logger.info("Exiting gracefully") networkd.remove_all_configs() for i in USED_DEVICES: + logger.debug("Turning off %s", i) device = Device(i) - device.set_mode("station") + # device.set_mode("station") device.power_off() + logger.debug("Deleting interface %s", args.batman_device) networkd.delete_interface(args.batman_device) + logger.debug("Deleting interface %s", args.bridge_device) networkd.delete_interface(args.bridge_device)