Added make target for shutting down the connected P4wnP1

This commit is contained in:
2026-06-18 12:45:45 +02:00
parent ceb33b4e0d
commit c73ecefa86
+5 -1
View File
@@ -1,4 +1,4 @@
.PHONY: sync run ready exec all stop
.PHONY: sync run ready exec all stop shutdown
TARGET = [email protected]
PASSWD = toor
@@ -40,5 +40,9 @@ stop:
-@pkill key_extendr
@echo "[i] Stopped all running jobs"
shutdown:
-@sshpass -p "$(PASSWD)" ssh "$(TARGET)" 'shutdown now' > /dev/null 2>&1 || true
## Sync and execute
run: ready sync exec