mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
6 lines
160 B
Bash
6 lines
160 B
Bash
#!/bin/sh
|
|
while true; do
|
|
response=`/usr/bin/mysqladmin -uUNKNOWN_USER ping 2>&1` && break
|
|
echo "$response" | grep -q "mysqld is alive" && break
|
|
sleep 1
|
|
done
|