Commit Graph

15 Commits (c3db0305028596a1e749c794c998acc20095baa6)

Author SHA1 Message Date
Jo-Philipp Wich 9ee12e3f62 uci: implement a uci_toogle_state() wrapper in the shell api which calls uci_revert_state() before uci_set_state()
SVN-Revision: 27614
13 years ago
Jo-Philipp Wich 63991ba875 base-files, uci: properly revert list state on config_load This fixes a bug where lists end up with duplicate values if config_load was invoked multiple times.
SVN-Revision: 22629
14 years ago
Jo-Philipp Wich 6efb515be1 uci: add uci_get() and uci_get_state() wrappers to shell api (#7312)
SVN-Revision: 21489
14 years ago
Felix Fietkau 4e7fded1c4 uci: allow shell scripts to override the config dir (patch by cshore)
SVN-Revision: 19351
15 years ago
Felix Fietkau 1ffa647fe1 fix uci_set_state for empty values
SVN-Revision: 12345
16 years ago
Felix Fietkau 434f4269ea initialize the CONFIG_APPEND variable
SVN-Revision: 12050
16 years ago
Felix Fietkau 69ed8ba037 clean up the directory layout of the uci shell api
SVN-Revision: 12022
16 years ago
Felix Fietkau 4053fb48cf nuke uci-sh, it is obsolete and no longer works
SVN-Revision: 12021
16 years ago
Felix Fietkau 4cb7df23e9 allow packages to optionally append config file contents in the environment by setting a flag and calling config_load multiple times
SVN-Revision: 12020
16 years ago
Felix Fietkau 1963209708 commit after running uci_set_default
SVN-Revision: 10434
17 years ago
Felix Fietkau c86404e5a1 don't fail on uci_load() with nonexisting config files, but return the right return code
SVN-Revision: 10433
17 years ago
Felix Fietkau e1bb6ae6be make uci_add() create anonymous sections if requested and store the new section name in a variable
SVN-Revision: 10432
17 years ago
Felix Fietkau bbc3a023ca fix a stupid copy&paste mistake
SVN-Revision: 10399
17 years ago
Felix Fietkau 7089be5ad8 fix wrong path to uci (thx, phr3ak)
SVN-Revision: 10387
17 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
17 years ago