60 seconds to init daemon

This commit is contained in:
clamsawd 2015-10-27 12:54:41 +01:00
parent abbb97c1f0
commit d0754854c2

View File

@ -149,9 +149,9 @@ os.system("echo [ip2e-daemon] Initialized ip2e-daemon v"+version+" > ip2e.log")
print ("[ip2e-daemon] Waiting 60 seconds...")
os.system("echo [ip2e-daemon] Waiting 60 seconds... >> ip2e.log")
if os.name == "posix":
os.system("sleep 1")
os.system("sleep 60")
elif os.name == "nt":
os.system("ping -n 1 localhost>nul")
os.system("ping -n 60 localhost>nul")
PublicIP = 1