init.d scripts for client and server

The init.d scripts have been expanded to support
both the server/client situation and the standalone
server situation.