

12·
7 days agoEasiest way would be to just add a sleep 15
command at the top of the script. Time how long it takes your wifi to come up, and adjust the sleep time with like a 2-3 second buffer in case it takes linger for some reason.
More exact would be to create a systemd service for your script that depends on network connectivity to execute.
Git