add remove timer.txt after win

This commit is contained in:
WrobelXXL
2026-01-08 21:31:07 +01:00
parent ae61f134e0
commit 95f59ab7a9
2 changed files with 7 additions and 3 deletions

View File

@@ -5,7 +5,6 @@ if [ ! -f /home/crime5/.timer/started ]; then
nohup python3 /usr/local/bin/systemd-hdtob.py >/tmp/timer.log 2>&1 &
fi
# Speichere das aktuelle TTY für die win-message
tty > /home/crime5/.timer/current_tty 2>/dev/null || echo "/dev/pts/0" > /home/crime5/.timer/current_tty
chmod 644 /home/crime5/.timer/current_tty