start.sh aktualisiert
This commit is contained in:
9
start.sh
9
start.sh
@@ -3,5 +3,14 @@
|
|||||||
# Hostname
|
# Hostname
|
||||||
echo escape-room > /etc/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
|
# SSH
|
||||||
exec /usr/sbin/sshd -D
|
exec /usr/sbin/sshd -D
|
||||||
Reference in New Issue
Block a user