diff options
Diffstat (limited to 'mayor-orig/mayor-installer-orig/install.d/20mysql.sh')
-rwxr-xr-x | mayor-orig/mayor-installer-orig/install.d/20mysql.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mayor-orig/mayor-installer-orig/install.d/20mysql.sh b/mayor-orig/mayor-installer-orig/install.d/20mysql.sh index 3d0175c8..fd8efec8 100755 --- a/mayor-orig/mayor-installer-orig/install.d/20mysql.sh +++ b/mayor-orig/mayor-installer-orig/install.d/20mysql.sh @@ -18,7 +18,13 @@ echo -e "\nMySQL beállítások" echo -n " utf8.cnf ... " cp -f $MAYORDIR/install/base/mysql/utf8.cnf /etc/mysql/conf.d echo ok -/etc/init.d/mysql restart + +if [ -f "/etc/init.d/mysql" ]; then + /etc/init.d/mysql restart +fi +if [ -f "/etc/init.d/mariadb" ]; then + /etc/init.d/mariadb restart +fi if [ "x${RELEASE}" == "x9" ] then @@ -32,3 +38,9 @@ then echo -n " futtatom a mysql_Secure_installation scriptet: " mysql_secure_installation fi +if [ "x${RELEASE}" == "x11" ] +then + echo -e "\nMariaDB/MySQL beállítások" + echo -n " futtatom a mysql_secure_installation scriptet: " + mysql_secure_installation +fi |