]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/paks/mysql/install.sh
kernel: increase nr of cpu's of the legacy intel kernel.
[people/teissler/ipfire-2.x.git] / src / paks / mysql / install.sh
index 805cb7822c4c666b51ce4e888fb3d2ab0f659f44..20a9924caa5170ac860fcc27b1dc79989f8d4a1d 100644 (file)
 ############################################################################
 #
 . /opt/pakfire/lib/functions.sh
-
 extract_files
-
 ln -svf  ../init.d/mysql /etc/rc.d/rc0.d/K26mysql
 ln -svf  ../init.d/mysql /etc/rc.d/rc3.d/S34mysql
 ln -svf  ../init.d/mysql /etc/rc.d/rc6.d/K26mysql
-
 /etc/init.d/mysql start
-
 COUNTER=0
-
 while [ "$COUNTER" -lt "10" ]; do
        [ -e "/var/run/mysql/mysql.sock" ] && break
        echo "MySQL server is still not running. Waiting 5 seconds."
        sleep 5
        COUNTER=$(($COUNTER + 1))
 done 
-
 [ -e "/var/run/mysql/mysql.sock" ] || (echo "MySQL still noch running... Exiting."; \
        exit 1)
-
 mysqladmin -u root --password='' password 'mysqlfire'