Browse Source

added todo note

master
jngrt 10 years ago
parent
commit
0873ef597b
  1. 1
      main.py

1
main.py

@ -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 Hack to adhoc0's inet6 adress
""" """
#TODO possibly check if it's an empty file
if not os.path.isfile('interfaceip6adress'): if not os.path.isfile('interfaceip6adress'):
os.system('ifconfig -a adhoc0 | grep inet6 > /root/meshenger/interfaceip6adress') os.system('ifconfig -a adhoc0 | grep inet6 > /root/meshenger/interfaceip6adress')
with open('/root/meshenger/interfaceip6adress', 'r') as a: with open('/root/meshenger/interfaceip6adress', 'r') as a:

Loading…
Cancel
Save