mysql: start at runlevel 5 not S

Without that change target system had to be restarted to get MySQL
running or it had to be run by hand. Reason was simple: mysql init
script was starting before S99configure when package was not yet
configured.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Marcin Juszkiewicz
2012-10-18 13:03:49 +00:00
committed by Koen Kooi
parent 673b3b6627
commit 44cb71bbc9
@@ -5,7 +5,7 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=477ab0a4c8ca64b482b3f2a365d0fdfa"
DEPENDS = "ncurses"
PR = "r8"
PR = "r9"
SRC_URI = "http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \
file://configure.in.patch \
@@ -26,7 +26,7 @@ inherit autotools binconfig update-rc.d
INITSCRIPT_PACKAGES = "${PN}-server"
INITSCRIPT_NAME = "mysqld"
INITSCRIPT_PARAMS = "start 45 S . stop 45 0 6 1 ."
INITSCRIPT_PARAMS = "start 45 5 . stop 45 0 6 1 ."
export ac_cv_path_PS="/bin/ps"
export ac_cv_FIND_PROC="/bin/ps p \$\$PID | grep -v grep | grep mysqld > /dev/null"