Zitat:
Zitat von usch
Code:
#!/bin/bash
curl -s "http://ipecho.net/plain" -o /tmp/new-ip
if ! cmp -s /tmp/old-ip /tmp/new-ip ; then
mail </tmp/new-ip -s "Neue IP-Adresse" dey@example.com
cp /tmp/new-ip /tmp/old-ip
fi
|
Extrem cool. Das werde ich mal implementieren. Vielleicht hat Synology dafür sogar noch eine GUI.
Ansonsten muss ich mal ein bisschen Linux Googln, wie man das macht.