wifi-reconnect.sh aktualisiert

This commit is contained in:
2026-02-18 09:14:17 +00:00
parent 4533a7a479
commit d67ffdb8c5

View File

@@ -19,6 +19,7 @@ if ! ping -c 1 192.168.178.1 > /dev/null 2>&1; then
if ping -c 1 192.168.178.1 > /dev/null 2>&1; then if ping -c 1 192.168.178.1 > /dev/null 2>&1; then
echo "[$(date)] : WiFi wiederhergestellt" >> $LOG_FILE echo "[$(date)] : WiFi wiederhergestellt" >> $LOG_FILE
else else
echo "[$(date)] : WiFi Reconnect fehlgeschlagen" >> $LOG_FILE echo "[$(date)] : WiFi Reconnect fehlgeschlagen, reboot!" >> $LOG_FILE
reboot
fi fi
fi fi