Fix syntax error
This commit is contained in:
parent
88aaffb9ca
commit
646ac0235c
2
admin.sh
2
admin.sh
|
@ -20,7 +20,7 @@ for byod in /home/*/byod; do
|
|||
fi
|
||||
else
|
||||
domainip=$(dig +short a $domain)
|
||||
if [ "$bestip" == "$domainip"]; then
|
||||
if [ "$bestip" == "$domainip" ]; then
|
||||
echo "$domain" > /var/lib/byod/user/$user
|
||||
echo "$user" > /var/lib/byod/domain/$domain
|
||||
sed -e "s/<user>/$user/" -e "s/<domain>/$domain/" template.conf \
|
||||
|
|
Loading…
Reference in New Issue