|
@@ -0,0 +1,24 @@
|
|
1
|
+#!/bin/sh
|
|
2
|
+
|
|
3
|
+echo "Stopping running script"
|
|
4
|
+ssh rpi-rgb-matrix "sudo systemctl disable --now led"
|
|
5
|
+echo
|
|
6
|
+echo
|
|
7
|
+
|
|
8
|
+echo "Syncing code"
|
|
9
|
+rsync -avh -e ssh ./*.py rpi-rgb-matrix:~/rgb-matrix-visualizer
|
|
10
|
+echo
|
|
11
|
+echo
|
|
12
|
+
|
|
13
|
+echo "Syncing images"
|
|
14
|
+rsync -avh -e ssh ./images/* rpi-rgb-matrix:~/rgb-matrix-visualizer/images
|
|
15
|
+echo
|
|
16
|
+echo
|
|
17
|
+
|
|
18
|
+echo "Syncing fonts"
|
|
19
|
+rsync -avh -e ssh ./fonts/* rpi-rgb-matrix:~/rgb-matrix-visualizer/fonts
|
|
20
|
+echo
|
|
21
|
+echo
|
|
22
|
+
|
|
23
|
+echo "Starting script"
|
|
24
|
+ssh rpi-rgb-matrix "sudo systemctl enable --now led"
|