Commit b09dac07 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix to how the mysqld version is determined; was broken on FreeBSD 4.X.

parent b3b1383b
......@@ -5,9 +5,11 @@
# KEYWORD: shutdown
isvers5=`/usr/local/bin/mysql -V | egrep -q -s 'Distrib 5.'`
# On FreeBSD 6.X we need to wrap the wrapper with daemon to prevent HUP signal
fbsdvers=`uname -v | sed -e 's/FreeBSD \([0-9]\).*/FreeBSD\1/'`
# Version 5.X uses a different name for the wrapper. Silly.
/usr/local/bin/mysql -V | egrep -q -s 'Distrib 5.'
if [ $? -eq 0 ]; then
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