Update defaults.inc
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
PW_VERS='2.10.2-06012025'
|
PW_VERS='2.10.3-06022025'
|
||||||
|
|
||||||
noheader=' update service dailytemp confsync -r -report test '
|
noheader=' update service dailytemp confsync -r -report test '
|
||||||
|
|
||||||
@@ -39,9 +39,7 @@ source ${PW_FOLDER}/conf/settings.conf
|
|||||||
|
|
||||||
if [ "${PW_MYSQL_HOST}" != "" ]; then
|
if [ "${PW_MYSQL_HOST}" != "" ]; then
|
||||||
if [[ "${IP}" == "10.6.1"* ]]; then
|
if [[ "${IP}" == "10.6.1"* ]]; then
|
||||||
# export MYSQL_PWD=${PW_MYSQL_PASS};
|
mysql_conn="/usr/bin/mariadb --user=${PW_MYSQL_USER} --password=${PW_MYSQL_PASS}"
|
||||||
# mysql_conn="/usr/bin/mysql -s -h ${PW_MYSQL_HOST} --user=${PW_MYSQL_USER}"
|
|
||||||
mysql_conn="/usr/bin/mysql -s"
|
|
||||||
else
|
else
|
||||||
mysql_conn="/usr/bin/mariadb -P 3308 -h ${PW_MYSQL_HOST} --user=${PW_MYSQL_USER} --password=${PW_MYSQL_PASS}"
|
mysql_conn="/usr/bin/mariadb -P 3308 -h ${PW_MYSQL_HOST} --user=${PW_MYSQL_USER} --password=${PW_MYSQL_PASS}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user