This script will 'refresh' the Qortal Core on the QORTector devices, it will remove the qortal.jar, db folder, and log files. It will then download the newest jar, and re-bootstrap.
11 lines
159 B
Bash
11 lines
159 B
Bash
#!/bin/sh
|
|
cd
|
|
cd qortal
|
|
./stop.sh
|
|
sleep 5
|
|
rm -R db
|
|
rm qortal.jar
|
|
rm log.t*
|
|
wget https://github.com/qortal/qortal/releases/latest/download/qortal.jar
|
|
./start.sh
|