From 4bb70486382676444b099319df3bf0a7ee31f2fa Mon Sep 17 00:00:00 2001 From: Ratatoskr Date: Fri, 26 Jan 2024 23:45:34 +0100 Subject: [PATCH] Fix weckzeit_datei path in A72_alarm_getter.sh Corrected the path for the 'weckzeit_datei' variable in A72_alarm_getter.sh script. The original path was pointing to '/root/iobroker_scripts/generel/.weckzeiten.txt' and has been updated to the correct path '/root/iobroker_scripts/general/.weckzeiten.txt'. This ensures that the script can accurately locate and utilize the 'weckzeit_datei' file, preventing potential issues related to the incorrect file path. --- A72_alarm_getter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/A72_alarm_getter.sh b/A72_alarm_getter.sh index 1743094..e00774d 100755 --- a/A72_alarm_getter.sh +++ b/A72_alarm_getter.sh @@ -69,7 +69,7 @@ check_ip() { check_ip || exit 1 # Beende das Skript, wenn das Ziel nicht erreichbar ist # Datei zum Speichern der geplanten Weckzeiten -weckzeit_datei="/root/iobroker_scripts/generel/.weckzeiten.txt" +weckzeit_datei="/root/iobroker_scripts/general/.weckzeiten.txt" # Ziel ist erreichbar, Alarmzeit über SSH abrufen alarmTime=$(ssh -i /root/.ssh/A72 root@$A72_ip dumpsys alarm | grep -A 6 ":com.urbandroid.sleep.alarmclock.ALARM_ALERT" | grep "type=RTC_WAKEUP origWhen=" | cut -d= -f3 | cut -c1-16 | uniq)