Fix Storry Level 5
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user