From 3bfa4de1acbf9cbe85051cfa60d02e38a90e4bda Mon Sep 17 00:00:00 2001 From: Frederik Menke Date: Thu, 20 Oct 2022 20:04:49 +0200 Subject: [PATCH] Add red shutdown command --- red/justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/red/justfile b/red/justfile index a02cc9b..63cae03 100644 --- a/red/justfile +++ b/red/justfile @@ -4,4 +4,7 @@ build: rrun: #scp -r ./src olimex@muele.local:red/ rsync -rvu --filter=':- .gitignore' ../red olimex@muele.local: - ssh olimex@muele.local "cd red; /home/olimex/.cargo/bin/cargo run;" \ No newline at end of file + ssh olimex@muele.local "cd red; /home/olimex/.cargo/bin/cargo run;" + +rdown: + ssh olimex@muele.local "sudo -S shutdown now" \ No newline at end of file