diff --git a/static/ntpdate.sh b/static/ntpdate.sh new file mode 100644 index 00000000..89e3a1c3 --- /dev/null +++ b/static/ntpdate.sh @@ -0,0 +1,7 @@ +#!/bin/bash +wget -q --spider http://google.com +if [ $? -eq 0 ] +then +ntpdate -s 1.se.pool.ntp.org +fi +exit