diff options
author | Kristian Evensen <kristian.evensen@gmail.com> | 2019-05-15 20:56:18 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-05-17 21:41:43 +0200 |
commit | 97780e363f1bfaef9451bb16fa94a0e73a18ebe6 (patch) | |
tree | ad642cccd86140baf16fed836889b9f4b6cdc0fd /package/system/uci/Makefile | |
parent | 869376710d70b1e2c9f5265bc8840738794bb280 (diff) | |
download | upstream-97780e363f1bfaef9451bb16fa94a0e73a18ebe6.tar.gz upstream-97780e363f1bfaef9451bb16fa94a0e73a18ebe6.tar.bz2 upstream-97780e363f1bfaef9451bb16fa94a0e73a18ebe6.zip |
system: uci: Use config dir on uci_add and support add_/del_list
This commit makes three changes to the uci shell library:
* A check for UCI_CONFIG_DIR has been added to the command line when
adding anonymous sections. Without this change, adding anonymous
sections to configs not stored in /etc/config is not possible.
* Support for adding/removing items from lists were missing, so I have
added the functions uci_add_list() and uci_remove_list() to simplify
working with uci lists from scripts.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
[added missing package version bump]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package/system/uci/Makefile')
-rw-r--r-- | package/system/uci/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/uci/Makefile b/package/system/uci/Makefile index 64849ec112..0d9ca71a45 100644 --- a/package/system/uci/Makefile +++ b/package/system/uci/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uci -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL=$(PROJECT_GIT)/project/uci.git PKG_SOURCE_PROTO:=git |