mirror of
https://github.com/vdm-io/dynamic-ip.git
synced 2024-12-04 16:23:13 +00:00
Added git ignore.
This commit is contained in:
parent
2a7ab4bbe7
commit
a3b66494ae
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.idea
|
2
getip.sh
2
getip.sh
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user