From d0754854c2278705550b54909f865f0932560bd4 Mon Sep 17 00:00:00 2001 From: clamsawd Date: Tue, 27 Oct 2015 12:54:41 +0100 Subject: [PATCH] 60 seconds to init daemon --- ip2e-daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ip2e-daemon.py b/ip2e-daemon.py index 3c71c65..5134e9e 100755 --- a/ip2e-daemon.py +++ b/ip2e-daemon.py @@ -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