1
0
Fork 0
mirror of https://github.com/fernwerker/ownDynDNS.git synced 2025-07-10 06:05:13 +02:00
fixed custom logfile location variable, envfile removed log, logfile and debug quotes
This commit is contained in:
NiiWiiCamo 2023-08-22 08:59:27 +02:00 committed by GitHub
parent 0d40bfd6ec
commit 1aa0e9c51a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
echo "### ownDynDNS configuration script"
# set variables
scriptversion="1.2"
scriptversion="1.3"
wwwuserd="www-data"
wwwgroupd="www-data"
@ -81,7 +81,7 @@ case $choice in
;;
3)
read -p "enter logfile location: " logfile
logfile={logfile:-$log1}
logfile=${logfile:-$log1}
;;
*)
logfile=${log1}
@ -155,8 +155,8 @@ echo "password=\"${pass}\"" >> $envfile
echo "apiKey=\"${apikey}\"" >> $envfile
echo "apiPassword=\"${apipass}\"" >> $envfile
echo "customerId=\"${custid}\"" >> $envfile
echo "debug=\"${debug}\"" >> $envfile
echo "log=\"${log}\"" >> $envfile
echo "logfile=\"${logfile}\"" >> $envfile
echo "debug=${debug}" >> $envfile
echo "log=${log}" >> $envfile
echo "logfile=${logfile}" >> $envfile
echo "created .env file at: ${envfile}"