Commit Graph

15 Commits (fafad3f4f45a620b5c78e453a3a9d8f0d388cdd7)

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
2011-07-15 14:52:38 +00:00
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
2010-08-14 00:45:15 +00:00
Jo-Philipp Wich 6efb515be1 uci: add uci_get() and uci_get_state() wrappers to shell api (#7312)
SVN-Revision: 21489
2010-05-17 19:31:05 +00:00
Felix Fietkau 4e7fded1c4 uci: allow shell scripts to override the config dir (patch by cshore)
SVN-Revision: 19351
2010-01-27 04:59:14 +00:00
Felix Fietkau 1ffa647fe1 fix uci_set_state for empty values
SVN-Revision: 12345
2008-08-20 12:34:17 +00:00
Felix Fietkau 434f4269ea initialize the CONFIG_APPEND variable
SVN-Revision: 12050
2008-07-31 21:11:15 +00:00
Felix Fietkau 69ed8ba037 clean up the directory layout of the uci shell api
SVN-Revision: 12022
2008-07-30 19:25:36 +00:00
Felix Fietkau 4053fb48cf nuke uci-sh, it is obsolete and no longer works
SVN-Revision: 12021
2008-07-30 19:25:08 +00:00
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
2008-07-30 19:21:09 +00:00
Felix Fietkau 1963209708 commit after running uci_set_default
SVN-Revision: 10434
2008-02-09 18:14:01 +00:00
Felix Fietkau c86404e5a1 don't fail on uci_load() with nonexisting config files, but return the right return code
SVN-Revision: 10433
2008-02-09 18:08:05 +00:00
Felix Fietkau e1bb6ae6be make uci_add() create anonymous sections if requested and store the new section name in a variable
SVN-Revision: 10432
2008-02-09 17:27:43 +00:00
Felix Fietkau bbc3a023ca fix a stupid copy&paste mistake
SVN-Revision: 10399
2008-02-05 20:22:47 +00:00
Felix Fietkau 7089be5ad8 fix wrong path to uci (thx, phr3ak)
SVN-Revision: 10387
2008-02-05 00:52:48 +00:00
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00