mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-22 14:16:08 +08:00
Update scripts.
This commit is contained in:
21
scripts/install-linker.sh
Normal file
21
scripts/install-linker.sh
Normal 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
|
||||
Reference in New Issue
Block a user