diff --git a/cf.sh b/cf.sh index ea37b91..51fac4c 100755 --- a/cf.sh +++ b/cf.sh @@ -7,7 +7,7 @@ if [[ ! -f ${1} ]]; then exit 1 fi -exec 3< ${1} +exec 3<${1} while IFS= read -u 3 LINE; do PROMPT="${LINE%%=*}" CVALUE="${LINE#*=}" @@ -21,5 +21,6 @@ while IFS= read -u 3 LINE; do fi fi done +exec 3<&- set +ex diff --git a/sample.txt b/sample.txt new file mode 100644 index 0000000..9858286 --- /dev/null +++ b/sample.txt @@ -0,0 +1,10 @@ +DATABASE_PASSWORD= +FULLTEXTSEARCH_PASSWORD= +TIMEZONE=Australia/Perth +TURN_SECRET= +TALK_RECORDING_ENABLED="no" +APACHE_IP_BINDING=0.0.0.0 +APACHE_MAX_SIZE=10737418240 +APACHE_PORT=443 +UPDATE_NEXTCLOUD_APPS="no" +