mirror of
https://github.com/pkali/piradio-mini.git
synced 2026-05-20 22:34:22 +02:00
Wait 10s. for network
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user