Some comments

parent 66ad7a10
......@@ -155,6 +155,8 @@ def validateIP(ip):
return False
# XXX This is CRAP. Let's find a better
# way to parse a better config?
def read_netconf(net):
p="/".join([NETPATH, net])
conf = {
......@@ -466,6 +468,7 @@ while not EXIT:
print_error("FUCK, Are you asking me to connect but you didn't select successfully any network???")
if done:
# TODO launch here a post-connect external script?
print(colors.BCYAN+"\n Are we fucking connected? Up to you to check, do something for fuck sake! \n"+colors.ENDC)
if boot:
if done:
......@@ -519,6 +522,7 @@ while not EXIT:
if not selected['conf']['saved']:
if insertNetwork(selected):
SM="connect"
# TODO launch a pre-connect external script
else:
print_error(" FUCK, it seems i can't add this fucking network ")
time.sleep(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment