Update - this post is now obsolete
A much neater way of automating the startup/shutdown of OBIEE on Linux is to use
the script we have published on the Rittman Mead scripts repository on github
[http://ritt.md/init.d]. You can see details of how to implement it