This commit is contained in:
Andrew Hurley 2024-08-08 19:54:47 +08:00
parent 94e47ba65c
commit 6436b04b86
2 changed files with 12 additions and 1 deletions

3
cf.sh
View File

@ -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

10
sample.txt Normal file
View File

@ -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"