From a3b66494ae3cd6de75ddf0768b84d77d40c823e0 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Tue, 1 Aug 2017 16:50:31 +0100 Subject: [PATCH] Added git ignore. --- .gitignore | 1 + getip.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..723ef36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file diff --git a/getip.sh b/getip.sh index cce2721..409e423 100755 --- a/getip.sh +++ b/getip.sh @@ -242,7 +242,7 @@ function setDNS () { echo "started" # add new a record to tmp file 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" # add new a record to zone file mv "/tmp/vdm_$tmpFile" "$FILEPATH"