curl date


#!/bin/sh
echo "Before: $(date), hwclock: $(hwclock)"
date -s "$(curl -s --head http://google.com | grep ^Date: | sed 's/Date: //g')"
hwclock -w
echo "After: $(date), hwclock: $(hwclock)"