Delete freedns file after use

This commit is contained in:
Bob Mottram 2017-07-09 10:57:57 +01:00
parent 12588382ab
commit fa1e8e5814
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ do
echo $"command: $FREEDNS_WGET${code}="
$FREEDNS_WGET${code}=
else
if [ -f /tmp/freedns ]; then
rm /tmp/freedns
fi
$FREEDNS_WGET${code}= >> /tmp/freedns 2>&1
fi
done