Wait 10s. for network

This commit is contained in:
Pecusx
2018-05-14 09:39:37 +02:00
committed by GitHub
parent 0ad060af66
commit fcc4d089f0
+1 -1
View File
@@ -137,7 +137,7 @@ class MyDaemon(Daemon):
lcd.line2(message) lcd.line2(message)
lcd.line3("Waiting for network") lcd.line3("Waiting for network")
IPwait = 5 # Wait max 5s. for network IPwait = 10 # Wait max 10s. for network
while IPwait > 0: while IPwait > 0:
IPwait = IPwait - 1 IPwait = IPwait - 1
ipaddr = exec_cmd('hostname -I') ipaddr = exec_cmd('hostname -I')