Fix mysql.server.sh to use shell functions as replacement

for LSB init functions when they aren't available. (Bug #9852)
This commit is contained in:
jimw@mysql.com 2005-04-14 17:22:18 -07:00
parent b698b8620e
commit 5e581186a4

View file

@ -61,8 +61,14 @@ lsb_functions="/lib/lsb/init-functions"
if test -f $lsb_functions ; then
source $lsb_functions
else
alias log_success_msg="echo \ SUCCESS! "
alias log_failure_msg="echo \ ERROR! "
log_success_msg()
{
echo " SUCCESS! $@"
}
log_failure_msg()
{
echo " ERROR! $@"
}
fi
PATH=/sbin:/usr/sbin:/bin:/usr/bin:$basedir/bin