1

Any uci function like uci_load() but load config file not under /etc/config? Can we specify directory not in /etc/config?

ios
  • 13
  • 3

1 Answers1

0

If you're doing this in C then it looks like you could create a new uci_context struct with the path specified in confdir.

Based on looking at: https://lxr.openwrt.org/source/uci/uci.h#L397

adamkonrad
  • 6,794
  • 1
  • 34
  • 41