Update scripts.

This commit is contained in:
Jonathan Naylor
2020-04-23 21:36:43 +01:00
parent 6be27b3759
commit 8e75b2453b
12 changed files with 62 additions and 41 deletions

21
scripts/install-linker.sh Normal file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
cd /
rm -rf DMRGa*
cd /opt
rm -rf script
cd /var/log
rm -rf script
cd /boot
cp DMRGateway*.tgz /
cd /
tar -xvf DMRGateway*.tgz
systemctl daemon-reload
echo -n "" > /var/log/script/static-slot1.txt
echo -n "" > /var/log/script/static-slot2.txt
echo -n "" > /var/log/script/slot1.txt
echo -n "" > /var/log/script/slot2.txt