mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
8 lines
237 B
Bash
Executable file
8 lines
237 B
Bash
Executable file
#!/bin/sh
|
|
|
|
while true; do
|
|
response=$(/usr/bin/mysqladmin -uUNKNOWN_USER ping 2>&1) && break
|
|
echo "$response" | grep -q "mysqld is alive" && break
|
|
echo "$response" | grep -q "Access denied for user" && break
|
|
sleep 1
|
|
done
|