Updated init for Solaris compatibility