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 6a137c0..b01aae2 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
 }