summaryrefslogtreecommitdiff
path: root/config.h
Commit message (Collapse)AuthorAgeFilesLines
* config: parse default mac address from board.jsonFelix Fietkau2020-11-301-0/+1
| | | | | | | | | | | | | Example: { "network-device": { "eth0": { "macaddr": "bc:a5:11:16:76:d7" } } } Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: propagate error code on netifd_reload()Alexandru Ardelean2017-04-051-1/+1
| | | | | | | | | | | | | | | The context is that we generate some of the UCI config for netifd via scripts/programs. Every once in a while, there's a goof when doing that UCI generation, and netifd prints out the error at stderr, but returns 0 (success) err-code. This change will fail the ubus call if UCI config is invalid or missing for /etc/config/network. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Acked-by: Hans Dedecker <dedeckeh@gmail.com>
* config: use the new uci_blob library codeFelix Fietkau2013-06-101-38/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* config: replace config_memdup with blob_memdup from libuboxFelix Fietkau2013-06-101-2/+0
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* add copyright headersFelix Fietkau2012-05-041-0/+13
|
* rename config_init_interfaces to config_init_allFelix Fietkau2011-10-191-1/+1
|
* remove the argument to config_init_interfacesFelix Fietkau2011-10-191-1/+1
|
* more changes for config reload handlingFelix Fietkau2011-10-031-0/+2
|
* add functions for checking for config differencesFelix Fietkau2011-10-031-0/+18
|
* manage interfaces via vlistFelix Fietkau2011-10-021-6/+0
|
* move more stuff out of netifd.hFelix Fietkau2011-09-071-1/+3
|
* constifyFelix Fietkau2011-09-051-1/+1
|
* add config state trackingFelix Fietkau2011-09-051-0/+8
|
* add support for multiple config_param_list::next pointersFelix Fietkau2011-07-291-2/+4
|
* implement uci-to-blobmsg conversion as an abstraction between uci and the ↵Felix Fietkau2011-07-291-0/+24
rest of netifd