scripts: add config_add_array() to utils
authorFelix Fietkau <nbd@openwrt.org>
Tue, 24 Sep 2013 07:44:40 +0000 (09:44 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 19 Oct 2013 15:31:56 +0000 (17:31 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
scripts/utils.sh

index 6a137c0610826f035c447871173edb2ef6f65ffd..b01aae27b0d83f5684b40e4f38ef49875e934162 100644 (file)
@@ -24,6 +24,10 @@ config_add_int() {
        _config_add_generic "$1" 5
 }
 
+config_add_array() {
+       _config_add_generic "$1" 1
+}
+
 config_add_string() {
        _config_add_generic "$1" 3
 }