Compare commits

...

2 Commits

Author SHA1 Message Date
Blackyfff d829a08b54 version 1.0.0rc2
Signed-off-by: Blackyfff <freifunk@freifunk-herpf.de>
2023-04-06 01:32:33 +02:00
Blackyfff 326bf37208 Fix: prevent multiple instaces
Signed-off-by: Blackyfff <freifunk@freifunk-herpf.de>
2023-04-06 01:32:04 +02:00
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,7 @@
# exit script when command fails
set -e
export DNSSCRIPT_VERSION="1.0.0rc1"
export DNSSCRIPT_VERSION="1.0.0rc2"
. /etc/ffdns/community.conf
. /etc/ffdns/local.conf
@ -39,6 +39,8 @@ ForwardZones="$MasterDomain""/""$ZoneFilesFolder""db.""$FirstInternalView"".""$M
SetupCache
flock -n "$DNSSCRIPT_TEMP_FOLDER""script.lock" -c :
CachedMasterFile="$DNSSCRIPT_TEMP_FOLDER""cache/db.""$MasterDomain"
PreFetchMasterSerial="$(GetZoneFileSerial "$CachedMasterFile")"
GetMasterFile