Changes of Revision 34
[-] [+] | Changed | config.sh |
@@ -64,6 +64,13 @@ echo "server ptbtime3.ptb.de" >> /etc/ntp.conf echo "multicastclient" >> /etc/ntp.conf +# enable initial time sync on startup +sed -i 's,NTPD_FORCE_SYNC_ON_STARTUP=.*,NTPD_FORCE_SYNC_ON_STARTUP="yes",' /etc/sysconfig/ntp +# set our timezone +if [ -f /usr/share/zoneinfo/Europe/Berlin ] ; then + cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime +fi + # allow root login via serial console for debugging echo "" >> /etc/securetty echo "# for debugging purposes" >> /etc/securetty |