diff --git a/start.sh b/start.sh index 1dbb663..0c5787a 100644 --- a/start.sh +++ b/start.sh @@ -3,5 +3,14 @@ # Hostname echo escape-room > /etc/hostname + +# lvl5 +if [ "$USER" = "crime5" ]; then + if ! pgrep -f "/root/watchdog.py" > /dev/null; then + /usr/bin/python3 /root/watchdog.py & + fi +fi + + # SSH exec /usr/sbin/sshd -D \ No newline at end of file