diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-09-24 09:44:40 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-19 17:31:56 +0200 |
commit | 54cb6782c3f36dc98b75e65ea27236595d5b1858 (patch) | |
tree | 2a94ce76ebd8e974be38e948d2e0a17d9278cb1d /scripts/utils.sh | |
parent | 7115f236a57328f366cf6dbd2007b3899afda73e (diff) |
scripts: add config_add_array() to utils
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'scripts/utils.sh')
-rw-r--r-- | scripts/utils.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/utils.sh b/scripts/utils.sh index 6a137c0..b01aae2 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -24,6 +24,10 @@ config_add_int() { _config_add_generic "$1" 5 } +config_add_array() { + _config_add_generic "$1" 1 +} + config_add_string() { _config_add_generic "$1" 3 } |