mirror of
https://github.com/fernwerker/ownDynDNS.git
synced 2025-07-10 22:25:13 +02:00
v1.3
fixed custom logfile location variable, envfile removed log, logfile and debug quotes
This commit is contained in:
parent
0d40bfd6ec
commit
1aa0e9c51a
1 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
echo "### ownDynDNS configuration script"
|
echo "### ownDynDNS configuration script"
|
||||||
|
|
||||||
# set variables
|
# set variables
|
||||||
scriptversion="1.2"
|
scriptversion="1.3"
|
||||||
|
|
||||||
wwwuserd="www-data"
|
wwwuserd="www-data"
|
||||||
wwwgroupd="www-data"
|
wwwgroupd="www-data"
|
||||||
|
@ -81,7 +81,7 @@ case $choice in
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
read -p "enter logfile location: " logfile
|
read -p "enter logfile location: " logfile
|
||||||
logfile={logfile:-$log1}
|
logfile=${logfile:-$log1}
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
logfile=${log1}
|
logfile=${log1}
|
||||||
|
@ -155,8 +155,8 @@ echo "password=\"${pass}\"" >> $envfile
|
||||||
echo "apiKey=\"${apikey}\"" >> $envfile
|
echo "apiKey=\"${apikey}\"" >> $envfile
|
||||||
echo "apiPassword=\"${apipass}\"" >> $envfile
|
echo "apiPassword=\"${apipass}\"" >> $envfile
|
||||||
echo "customerId=\"${custid}\"" >> $envfile
|
echo "customerId=\"${custid}\"" >> $envfile
|
||||||
echo "debug=\"${debug}\"" >> $envfile
|
echo "debug=${debug}" >> $envfile
|
||||||
echo "log=\"${log}\"" >> $envfile
|
echo "log=${log}" >> $envfile
|
||||||
echo "logfile=\"${logfile}\"" >> $envfile
|
echo "logfile=${logfile}" >> $envfile
|
||||||
|
|
||||||
echo "created .env file at: ${envfile}"
|
echo "created .env file at: ${envfile}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue