Don't run script if db is disabled
This commit is contained in:
parent
d04a86aedd
commit
8369cf27da
@ -4,6 +4,8 @@
|
||||
# and secure MariaDB installation
|
||||
#
|
||||
|
||||
[[ "$(CreoleGet dbEnable)" == "non" ]] && exit 0
|
||||
|
||||
ROLE=$(CreoleGet dbClusterPosition 'Leader')
|
||||
SECURE_CMD="mysql_secure_installation"
|
||||
PASSWORD=$(pwgen -1 10)
|
||||
|
Loading…
Reference in New Issue
Block a user