summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-31 12:20:32 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-10-31 12:20:48 +0100
commit199723ed921160c029a0d15fa95914ddfcdc5cb9 (patch)
treeaf1e49b8e9a09e3e24a540aae3a40bf7301a0cac /scripts
parent2fe499798dd5c80f0af27cdd53dc52260002c320 (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.sh6
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() {