From 0d9f339f35dee67179d0b4f1bd8577317f1e6af5 Mon Sep 17 00:00:00 2001 From: xiao Date: Thu, 5 Dec 2024 09:32:45 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20init=5Fmysql=20?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=B8=AD=E7=9A=84=E5=B9=B3=E5=8F=B0=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E5=92=8C=E8=84=9A=E6=9C=AC=E6=89=A7=E8=A1=8C=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bt.sh b/bt.sh index ece1bba..45eee45 100644 --- a/bt.sh +++ b/bt.sh @@ -38,7 +38,7 @@ soft_start(){ } init_mysql(){ - if [ "${O_pl}" != "docker_btlamp_c79" ] && [ "${O_pl}" != "docker_btlnmp_c79" ];then + if [ "${O_pl}" != "docker_btlamp_r9" ] && [ "${O_pl}" != "docker_btlnmp_r9" ];then return fi if [ -d "${Data_Path}" ]; then @@ -51,7 +51,7 @@ init_mysql(){ fi fi if [ -f /init_mysql.sh ] && [ -d "${Setup_Path}" ];then - sh /init_mysql.sh + bash /init_mysql.sh rm -f /init_mysql.sh fi }