Refactored startup script installation to accomodate Ubuntu Upstart and
Raspian sysv init.