added output var
This commit is contained in:
4
conf.sh
4
conf.sh
@@ -2,8 +2,8 @@
|
||||
mrepo=https://git.ictmaatwerk.com/VPS-scripts/MySQL
|
||||
mbranch=master
|
||||
|
||||
if [ -z ${password+x} ]; then echo 'Error $password is not set'; fi
|
||||
if [ -z ${PHPMyadmin+x} ]; then echo 'Error $PHPMyadmin is not set, Setting default OFF' && PHPMyadmin=0;fi #check if Var is set
|
||||
if [ -z ${password+x} ]; then echo 'Error $password is not set' > $OUTPUT 2>&1 ; fi
|
||||
if [ -z ${PHPMyadmin+x} ]; then echo 'Error $PHPMyadmin is not set, Setting default OFF' > $OUTPUT 2>&1 && PHPMyadmin=0;fi #check if Var is set
|
||||
|
||||
rm -rf /etc/mysql/ /etc/my.cnf.d/ /etc/my.cnf
|
||||
mkdir /etc/mysql/
|
||||
|
||||
Reference in New Issue
Block a user