Fix for openfired script for 3.3.1 on Debian Etch

The openfired script has a couple of glitches in lines 53/54

CMD="./openfire.sh $1"

su -c “$CMD” $OPENFIRE_USER &

Result in errors when run ( File / Directory not found, sh error , or silently dies)

Switching to the following corrects it.

CMD="./openfire $1"

su $OPENFIRE_USER -c “$CMD” &

As the openfire file has no .sh and the su order was reveresed. ( su )

Haven’'t tested this with other distro besides Etch/stable.

I believe the start and stop commands need a little tweaking as well.

Haven’'t noticed any issues with starting or stopping the server from the script once the fixes were applied.