This commit is contained in:
simono41 2020-06-08 07:56:50 +02:00
parent 6be62f1d79
commit 942a40742e

View file

@ -22,8 +22,8 @@ if [ "$IPV4" == "$UPDIPV4" ]; then
elif [ "$IPV6" == "$UPDIPV6" ]; then elif [ "$IPV6" == "$UPDIPV6" ]; then
echo "$DATUM - IPV6 is gleich - KEIN UPDATE" >> $PFAD/log.txt echo "$DATUM - IPV6 is gleich - KEIN UPDATE" >> $PFAD/log.txt
else else
echo "$DATUM - Neue-IPV4: $ip / Alte-IPV4: $UPDIPV4 - UPDATE!" >> $PFAD/log.txt echo "$DATUM - Neue-IPV4: $IPV4 / Alte-IPV4: $UPDIPV4 - UPDATE!" >> $PFAD/log.txt
echo "$DATUM - Neue-IPV6: $ip / Alte-IPV6: $UPDIPV6 - UPDATE!" >> $PFAD/log.txt echo "$DATUM - Neue-IPV6: $IPV6 / Alte-IPV6: $UPDIPV6 - UPDATE!" >> $PFAD/log.txt
echo $IPV4 > $PFAD/updipv4.txt echo $IPV4 > $PFAD/updipv4.txt
echo $IPV6 > $PFAD/updipv6.txt echo $IPV6 > $PFAD/updipv6.txt