Corrected check for Redhat distributions
Added correct activiation command for init script
Added sections to handle any system not being Debian or Redhat flavor