Scripts/wait-until-internet.sh

3 lines
85 B
Bash
Raw Permalink Normal View History

2022-12-12 18:57:47 -05:00
#!/bin/sh
ping -c 1 -W 1 8.8.8.8; while [ $? != 0 ]; do ping -c 1 -W 1 8.8.8.8; done