Fix the system clock sync

The current command isn't working (mostly because the network might not be up at that moment), and also it doesn't lock the system clock, so if the host sleeps, for instance, we'll have time discrepancies.

This fixes that.
Couldn't this be simplified like so?
```bash
while ! ping -c 1 $NTP_SERVER; do
    sleep 1
done
```