diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-31 12:20:32 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-31 12:20:48 +0100 |
commit | 199723ed921160c029a0d15fa95914ddfcdc5cb9 (patch) | |
tree | af1e49b8e9a09e3e24a540aae3a40bf7301a0cac /scripts | |
parent | 2fe499798dd5c80f0af27cdd53dc52260002c320 (diff) |
proto-shell: fix legacy proto_config_add_* functions, make them wrap around config_add_*
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/netifd-proto.sh | 6 |
1 files 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() { |