summaryrefslogtreecommitdiff
path: root/system/mariadb/rc.mysqld
diff options
context:
space:
mode:
Diffstat (limited to 'system/mariadb/rc.mysqld')
-rw-r--r--system/mariadb/rc.mysqld3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/mariadb/rc.mysqld b/system/mariadb/rc.mysqld
index 753a175fc1..300e6eb2d3 100644
--- a/system/mariadb/rc.mysqld
+++ b/system/mariadb/rc.mysqld
@@ -51,7 +51,8 @@ mysqld_stop() {
if [ -r /var/run/mysql/mysql.pid ]; then
killall mysqld
# Wait at least one minute for it to exit, as we don't know how big the DB is...
- for second in $(seq 0 60) ; do
+ for second in 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 \
+ 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 60 ; do
if [ ! -r /var/run/mysql/mysql.pid ]; then
break;
fi