#17744: aiccu doesn't start on boot due to DNS and time issues
------------------------+------------------------
Reporter: lorenzo@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
------------------------+------------------------
Comment (by LipkeGu):
{{{
....
[ "$deamonize" == 1 ] && echo "daemonize true" >> "$CFGFILE"
echo "pidfile $PIDFILE" >> "$CFGFILE"
/usr/sbin/ntpdate -b <ip of an ntp-server>
sleep 10
aiccu start "$CFGFILE"
[ "$?" -ne 0 ] && {
proto_notify_error "$cfg" "AICCU_FAILED_SEE_LOG"
proto_block_restart "$cfg"
return
}
...
}}}
the problem is netifd sets up the protos to0 early (BEFORE DNS)! this
"ntpdate-line should fix that "rudimentary" ... BUT YOU HAVE TO USE AN IP
ADRESS !:)
[https://www.sixxs.net/forum/?msg=setup-12255745-12256213]
--
Ticket URL: <https://dev.openwrt.org/ticket/17744#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets