Files
Debian-Retzel/start.sh
2025-11-18 06:39:45 +00:00

16 lines
239 B
Bash

#!/bin/bash
# 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