Commit f442e091 authored by Leigh B Stoller's avatar Leigh B Stoller

If for some reason mysqld is not running, skip starting the testbed

daemons, just keep going to get to multiuser mode instead of waiting a
really long time for everything to fail.
parent 1d4938f6
......@@ -68,6 +68,10 @@ esac
#
if [ -x @prefix@/sbin/setsitevar ]; then
disabled=`@prefix@/sbin/setsitevar -c general/testbed_shutdown`
if [ $? -ne 0 ]; then
echo -n " mysqld not running, skipping mfrisbeed startup"
exit 0
fi
if [ $disabled -gt 0 ]; then
echo -n " mfrisbeed disabled"
exit 0
......
......@@ -20,6 +20,10 @@ case "$1" in
#
if [ -x @prefix@/sbin/setsitevar ]; then
disabled=`@prefix@/sbin/setsitevar -c general/testbed_shutdown`
if [ $? -ne 0 ]; then
echo -n " mysqld not running, skipping testbed startup"
exit 0
fi
if [ $disabled -gt 0 ]; then
echo -n " testbed disabled"
exit 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment