Update check.php

boot if machine is offline working!