forked from IDeletedSystem64/iptables-deploy
wait 10 secs for sshd to start on the ONT
This commit is contained in:
parent
969ae88425
commit
82b63a6fe3
@ -72,6 +72,7 @@ while True:
|
|||||||
if healthstatus == "ok":
|
if healthstatus == "ok":
|
||||||
print("ONT responded after a fail, deploying payload!")
|
print("ONT responded after a fail, deploying payload!")
|
||||||
healthpassing == True
|
healthpassing == True
|
||||||
|
time.sleep(10) # Wait 10 seconds for the ONT to fully boot up and start sshd.
|
||||||
deploy()
|
deploy()
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user