DNSSec need the correct time to validate the zones so we need
a workaround to init the time without dns.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
etc/issue
etc/unbound/unbound.conf
etc/rc.d/init.d/unbound
+etc/rc.d/init.d/ntp
srv/web/ipfire/cgi-bin/logs.cgi/log.dat
srv/web/ipfire/cgi-bin/traffic.cgi
var/ipfire/langs
fi
if [ -e /var/ipfire/red/active ]; then
boot_mesg ""
+
+ host ping.ipfire.org > /dev/null 2>&1
+ if [ "${?}" != "0" ]; then
+ boot_mesg "DNS not work ... init with ntp.ipfire.org at 81.3.27.46 ..."
+ loadproc /usr/local/bin/settime 81.3.27.46
+ boot_mesg "Setting time on boot..."
+ fi
+
loadproc /usr/local/bin/settime $(cat /var/ipfire/time/settime.conf)
else
boot_mesg " ERROR! Not online!"