[Bug 627490] Asterisk startup script fails to correctly test if its running