[LEDE-DEV] [PATCH netifd] netifd-proto: add proto_config_add_array wrapper
Hans Dedecker
dedeckeh at gmail.com
Mon Feb 5 00:57:47 PST 2018
Signed-off-by: Hans Dedecker <dedeckeh at gmail.com>
---
scripts/netifd-proto.sh | 4 ++++
1 file changed, 4 insertions(+)
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"
--
2.15.1
More information about the Lede-dev
mailing list