- make sure MySQL is started as user mysql from safe_mysqld.sh script instead of the example startup.sh - hard coded /usr/local -> ${PREFIX} in MESSAGE - use user/group commands instead of cat/adduser in INSTALL script - ${FOO} -> $FOO in INSTALL/DEINSTALL
12 lines
205 B
Bash
12 lines
205 B
Bash
#!/bin/sh
|
|
|
|
PREFIX=@PREFIX@
|
|
|
|
if [ -x /sbin/ldconfig ]; then
|
|
/sbin/ldconfig -m ${PREFIX}/lib/mysql
|
|
fi
|
|
|
|
if [ -x ${PREFIX}/bin/safe_mysqld ]; then
|
|
${PREFIX}/bin/safe_mysqld > /dev/null & echo -n ' mysql'
|
|
fi
|