Update S77hostname

added hostname service restarting and fully pathed invoke-rc.d.