#!/bin/sh
apt-get update
apt-get install ntpdate
echo '#!/bin/sh' > /etc/cron.daily/czas
echo "ntpdate -u tempus1.gum.gov.pl" >> /etc/cron.daily/czas
echo "/sbin/hwclock --systohc" >> /etc/cron.daily/czas
/etc/cron.daily/czas