projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe4997
)
proto-shell: fix legacy proto_config_add_* functions, make them wrap around config_add_*
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 31 Oct 2013 11:20:32 +0000
(12:20 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 31 Oct 2013 11:20:48 +0000
(12:20 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
scripts/netifd-proto.sh
patch
|
blob
|
history
diff --git
a/scripts/netifd-proto.sh
b/scripts/netifd-proto.sh
index 76dcd8dcae777213383642c970e42e802f95377e..9f062d8a0c4495667e2c996b0e597bd52ba1bd5d 100644
(file)
--- 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() {