netifd-proto: add proto_config_add_array wrapper
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 5 Feb 2018 08:57:47 +0000 (09:57 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 5 Feb 2018 20:35:38 +0000 (21:35 +0100)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
scripts/netifd-proto.sh

index cc7031a..31df91f 100644 (file)
@@ -16,6 +16,10 @@ proto_config_add_boolean() {
        config_add_boolean "$@"
 }
 
        config_add_boolean "$@"
 }
 
+proto_config_add_array() {
+       config_add_array "$@"
+}
+
 proto_config_add_defaults() {
        proto_config_add_boolean "defaultroute"
        proto_config_add_boolean "peerdns"
 proto_config_add_defaults() {
        proto_config_add_boolean "defaultroute"
        proto_config_add_boolean "peerdns"