From 412613e14cfa7ff55a0b17fcfeb1ef4d2edda41b Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 4 May 2016 21:39:13 +0200 Subject: [PATCH] Added check-value for custom configurations check --- include/profiles | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/profiles b/include/profiles index a95d2790..47fa4770 100644 --- a/include/profiles +++ b/include/profiles @@ -54,6 +54,11 @@ done ;; + # Check for a specific value + check-value) + STRING=$(echo ${VALUE} | tr -d "[" | tr -d "]" | sed "s/, /,/g") + CHECK_VALUE_ARRAY="${CHECK_OPTION_ARRAY} ${STRING}" + ;; # Maximum number of WAITing connections connections_max_wait_state) OPTIONS_CONN_MAX_WAIT_STATE="${VALUE}" @@ -307,7 +312,6 @@ ################################################################################# # # Set default values (only if not configured in profile) - if [ "${MACHINE_ROLE}" = "" ]; then MACHINE_ROLE="server" LogText "Set option to default value: MACHINE_ROLE --> ${MACHINE_ROLE}"