[OpenWrt-Devel] [PATCH] use NTP server received via DHCP

Yousong Zhou yszhou4tech at gmail.com
Wed Dec 30 08:14:59 EST 2015


Hi,

On 30 December 2015 at 20:12, Amine Aouled Hamed <amine.ahd at gmail.com> wrote:
>
> Hi,
> Can you elaborate more on why you prefer uci state? I am just starting with OpenWRT and the first thing I found was procd.
>

Most of it is really just personal preference.  I prefer uci because
it can provide more structured access/manipulation of the state, e.g.

 - disable those ntpservers on interface down
 - when it comes to ntpservers from multiple dhcp interfaces
 - the state can be easily checked with uci command if something went wrong

These can of course also be done with procd data, but uci is already there...

Regards,
                yousong
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list