memo.xight.org

日々のメモ

Adjust Clock

Source

#!/bin/sh
# Adjust Clock
#    Yoshiki SATO [2002/02/03]
/usr/sbin/ntpdate 133.100.9.2
/bin/sleep 3
/sbin/hwclock --systohc
echo "Hardware Clock : `hwclock --show`"