crime to Level

This commit is contained in:
Tim
2026-01-08 22:00:39 +01:00
parent 26cb36fb35
commit 208ea12661
6 changed files with 66 additions and 66 deletions

View File

@@ -1,11 +1,11 @@
#!/bin/bash
if [ ! -f /home/crime5/.timer/started ]; then
touch /home/crime5/.timer/started
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 &
fi
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
tty > /home/level5/.timer/current_tty 2>/dev/null || echo "/dev/pts/0" > /home/level5/.timer/current_tty
chmod 644 /home/level5/.timer/current_tty
exec /bin/bash