Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

use lime.config instead of raw uci #16

Open
aparcar opened this issue Feb 13, 2018 · 2 comments
Open

use lime.config instead of raw uci #16

aparcar opened this issue Feb 13, 2018 · 2 comments

Comments

@aparcar
Copy link
Member

aparcar commented Feb 13, 2018

instead of using raw uci to get and set options we could simplify the code by using the lime config libary

@gmarcos87
Copy link
Contributor

That may be the right way to go. At

I use that approach. It would be interesting to better resolve the use of lime-config, lime-apply and even safe-reboot when changing configurations.

@p4u
Copy link
Contributor

p4u commented Feb 24, 2018

I think what @aparcar means is to use the libremesh libraries such as config.lua

https://github.com/libremesh/lime-packages/blob/develop/packages/lime-system/files/usr/lib/lua/lime/config.lua

Instead of calling raw uci library for set/get values and other operations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants