1
0
mirror of https://github.com/vdm-io/dynamic-ip.git synced 2024-12-05 00:33:13 +00:00

Added git ignore.

This commit is contained in:
Llewellyn van der Merwe 2017-08-01 16:50:31 +01:00
parent 2a7ab4bbe7
commit a3b66494ae
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.idea

View File

@ -242,7 +242,7 @@ function setDNS () {
echo "started" echo "started"
# add new a record to tmp file # add new a record to tmp file
echoTweak "${row[1]}" 16 '\040' >> "/tmp/vdm_$tmpFile" echoTweak "${row[1]}" 16 '\040' >> "/tmp/vdm_$tmpFile"
echoTweak "1" 8 '\040' >> "/tmp/$tmpFile" echoTweak "1" 8 '\040' >> "/tmp/vdm_$tmpFile"
echo "IN A ${row[2]}" >> "/tmp/vdm_$tmpFile" echo "IN A ${row[2]}" >> "/tmp/vdm_$tmpFile"
# add new a record to zone file # add new a record to zone file
mv "/tmp/vdm_$tmpFile" "$FILEPATH" mv "/tmp/vdm_$tmpFile" "$FILEPATH"