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:
7115f23
)
scripts: add config_add_array() to utils
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 24 Sep 2013 07:44:40 +0000
(09:44 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 19 Oct 2013 15:31:56 +0000
(17:31 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
scripts/utils.sh
patch
|
blob
|
history
diff --git
a/scripts/utils.sh
b/scripts/utils.sh
index
6a137c0
..
b01aae2
100644
(file)
--- a/
scripts/utils.sh
+++ b/
scripts/utils.sh
@@
-24,6
+24,10
@@
config_add_int() {
_config_add_generic "$1" 5
}
_config_add_generic "$1" 5
}
+config_add_array() {
+ _config_add_generic "$1" 1
+}
+
config_add_string() {
_config_add_generic "$1" 3
}
config_add_string() {
_config_add_generic "$1" 3
}