added todo note

This commit is contained in:
jngrt 2014-11-07 16:50:34 +01:00
parent 90b5ee0273
commit 0873ef597b

View File

@ -255,6 +255,7 @@ Convert a node's ip into a hash and make a directory to store it's files
"""
Hack to adhoc0's inet6 adress
"""
#TODO possibly check if it's an empty file
if not os.path.isfile('interfaceip6adress'):
os.system('ifconfig -a adhoc0 | grep inet6 > /root/meshenger/interfaceip6adress')
with open('/root/meshenger/interfaceip6adress', 'r') as a: