Level/Level5/start_watchdog.sh hinzugefügt

This commit is contained in:
2025-11-18 06:53:03 +00:00
parent 8c3093bec0
commit d91e64940a

View File

@@ -0,0 +1,9 @@
cat << 'EOF' > /etc/profile.d/start_watchdog.sh
#!/bin/bash
if [ "$USER" = "crime5" ]; then
if ! pgrep -f "/root/watchdog.py" > /dev/null; then
/usr/bin/python3 /root/watchdog.py &
fi
fi
EOF