[PATCH] Debian initscript $JAVA_HOME fix

Hi,

me and my friend (Gergely Patonay) had some issues running Openfire on Debian and Ubuntu.
So we wrote the attached patch for build/openfire.init.d to add more possible $JAVA_HOME directories in order to support current Debian derivative distributions on x86 arch.

In addition we fixed an incorrect return value, which applies when no JRE found.

It would be nice, if someone could commit it. Thank you.

Tamás Lévai

Hi. Thanks for the patch. Filed as OF-718