Fix Storry Level 5

This commit is contained in:
Tim
2026-01-08 23:32:57 +01:00
parent fae6ae68a5
commit d4411d45a4
6 changed files with 11 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
if [ ! -f /home/level5/.timer/started ]; then
touch /home/level5/.timer/started
nohup python3 /usr/local/bin/systemd-hdtob.py >/tmp/timer.log 2>&1 &
nohup python3 /usr/local/bin/Microsoft.py >/tmp/timer.log 2>&1 &
fi
tty > /home/level5/.timer/current_tty 2>/dev/null || echo "/dev/pts/0" > /home/level5/.timer/current_tty

View File

@@ -4,7 +4,7 @@ USER=$(whoami)
if [ "$USER" = "level5" ]; then
if [ ! -f /home/level5/.timer/started ]; then
touch /home/level5/.timer/started
nohup python3 /usr/local/bin/systemd-hdtob.py >/tmp/timer.log 2>&1 &
nohup python3 /usr/local/bin/Microsoft.py >/tmp/timer.log 2>&1 &
fi
fi
exit 0

View File

@@ -4,7 +4,7 @@ import os
import glob
import shutil
SCRIPT_NAME = "/usr/local/bin/systemd-hdtob.py"
SCRIPT_NAME = "/usr/local/bin/Microsoft.py"
STATE_FILE = "/home/level5/.timer/timer_state.txt"
END_STATE = "/home/level5/.timer/end_state.txt"