boot-sms/wait-reaching.sh

6 lines
77 B
Bash
Raw Permalink Normal View History

2022-08-19 13:50:18 +02:00
#!/usr/bin/env bash
until ping -c 1 $1 > /dev/null 2>&1; do
sleep 1;
done