Hi,

without knowing the details here I would argue that a "config domain"
entry in /etc/config/dhcp may be better due to the following reasons:

 - I believe users expect /etc/hosts to be unmanaged, means nothing
   writes in there
 - The domain entries in /etc/config/dhcp appear in the gui and
   can be deleted
 - Programmatically adding an entry to a uci file is usually safer
   than appending to native config files

~ Jow
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to