Hi,
is it possible to change the path for the config files for the uci System? On default it is /etc/config but i need to put my OpenWrt to set on read only so i copy these files into my ram because i still need to do changes on the configs.
I tried such commands like
uci -c/tmp/config set wireless.@wifi-iface.bssid=AA:BB:CC:DD:EE:FF
which does not work. Changing the -c with -P writes this into my config file on /tmp/config
wireless.cfg033579.bssid='AA:BB:CC:DD:EE:FF'
So at least this writes into my file. But the problem is uci don´t care about this and still choose /etc/config/wirless.
But the wiki says :
-c <path> set the search path for config files (default: /etc/config)
and
-P <path> add a search path for config change files and use as default
Did i missunderstand something or why does it not use my files at /tmp/config as default.
Thanks in advance
Patrick