Hi,ALL:
I have used openwrt for some days.Till now i have knew that openwrt uses uci to manage all of other apps's configures through modifing configure files in /etc/config/*.
For example,ushare app.I can firstly use uci to modify configures in /etc/config/ushare.Then i use /etc/init.d/ushare script to restart ushare.When ushare is restarted,it will read newest configures from /etc/config/ushare.Now the whole process have been done.(Am i right?)
But there is a question.When i check the source code of ushare, I found that in ushare's MAIN function,it will read configures from /etc/ushare.conf but not /etc/config/ushare.Does anyone be familiar with the relationship between uci and other apps?Or my understand is wrong?Very appreciate for your reply!
Topic: How uci related with other apps
The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Page 1 of 1
The init scripts take care of translating universal uci config into application specific native config formats, usually something like /var/etc/foo.conf or command line args.
Thanks a lot!
The discussion might have continued from here.
Page 1 of 1