commented out a line causing trouble
And added a bit more logging
This commit is contained in:
parent
5bde1faeba
commit
a061852a59
2 changed files with 5 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue