summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-02-05 09:57:47 +0100
committerHans Dedecker <dedeckeh@gmail.com>2018-02-05 21:35:38 +0100
commit1be329c66326c86d7a48ba71004fcef7691bbbf9 (patch)
treedd0d72b987a23f8f4fac06aa87ae82df4395508e
parentaf3cadb6a46ba93e8a729e71d82b176275931e62 (diff)
netifd-proto: add proto_config_add_array wrapper
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r--scripts/netifd-proto.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/netifd-proto.sh b/scripts/netifd-proto.sh
index cc7031a..31df91f 100644
--- a/scripts/netifd-proto.sh
+++ b/scripts/netifd-proto.sh
@@ -16,6 +16,10 @@ proto_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"