Jo-Philipp Wich
15080fc5d1
[package] uci: implement a uci_toogle_state() wrapper in the shell api which calls uci_revert_state() before uci_set_state()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-15 14:52:38 +00:00
Jo-Philipp Wich
65d6e285f1
[package] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 00:45:15 +00:00
Jo-Philipp Wich
11096c0963
[package] uci: add uci_get() and uci_get_state() wrappers to shell api ( #7312 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 19:31:05 +00:00
Felix Fietkau
b940bc10ab
uci: allow shell scripts to override the config dir (patch by cshore)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-27 04:59:14 +00:00
Felix Fietkau
90bf1295c1
fix uci_set_state for empty values
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 12:34:17 +00:00
Felix Fietkau
62381bde91
initialize the CONFIG_APPEND variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 21:11:15 +00:00
Felix Fietkau
d34d4895c3
clean up the directory layout of the uci shell api
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 19:25:36 +00:00