From 199723ed921160c029a0d15fa95914ddfcdc5cb9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 31 Oct 2013 12:20:32 +0100 Subject: [PATCH] proto-shell: fix legacy proto_config_add_* functions, make them wrap around config_add_* Signed-off-by: Felix Fietkau --- scripts/netifd-proto.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/netifd-proto.sh b/scripts/netifd-proto.sh index 76dcd8d..9f062d8 100644 --- a/scripts/netifd-proto.sh +++ b/scripts/netifd-proto.sh @@ -4,15 +4,15 @@ NETIFD_MAIN_DIR="${NETIFD_MAIN_DIR:-/lib/netifd}" . $NETIFD_MAIN_DIR/utils.sh proto_config_add_int() { - _config_add_generic "$1" 5 + config_add_int "$@" } proto_config_add_string() { - _config_add_generic "$1" 3 + config_add_string "$@" } proto_config_add_boolean() { - _config_add_generic "$1" 7 + config_add_boolean "$@" } _proto_do_teardown() { -- 2.25.1