mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-02 12:12:51 +02:00
RTL update to v0.12.3
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# https://github.com/Ride-The-Lightning/RTL
|
|
||||||
RTLVERSION="v0.12.1"
|
# https://github.com/Ride-The-Lightning/RTL/releases
|
||||||
|
RTLVERSION="v0.12.3"
|
||||||
|
|
||||||
# check and load raspiblitz config
|
# check and load raspiblitz config
|
||||||
# to know which network is running
|
# to know which network is running
|
||||||
@@ -11,12 +12,16 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
|||||||
echo "# config script for RideTheLightning $RTLVERSION WebInterface"
|
echo "# config script for RideTheLightning $RTLVERSION WebInterface"
|
||||||
echo "# able to run intances for lnd and cl parallel"
|
echo "# able to run intances for lnd and cl parallel"
|
||||||
echo "# mainnet and testnet instances can run parallel"
|
echo "# mainnet and testnet instances can run parallel"
|
||||||
echo "# bonus.rtl.sh [on|off|menu] <lnd|cl> <mainnet|testnet|signet>"
|
echo "# bonus.rtl.sh [on|off|menu] <lnd|cl> <mainnet|testnet|signet> <purge>"
|
||||||
echo "# bonus.rtl.sh connect-services"
|
echo "# bonus.rtl.sh connect-services"
|
||||||
echo "# bonus.rtl.sh prestart <lnd|cl> <mainnet|testnet|signet>"
|
echo "# bonus.rtl.sh prestart <lnd|cl> <mainnet|testnet|signet>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
PGPsigner="saubyk"
|
||||||
|
PGPpubkeyLink="https://github.com/${PGPsigner}.gpg"
|
||||||
|
PGPpubkeyFingerprint="00C9E2BC2E45666F"
|
||||||
|
|
||||||
echo "# Running: 'bonus.rtl.sh $*'"
|
echo "# Running: 'bonus.rtl.sh $*'"
|
||||||
|
|
||||||
source <(/home/admin/config.scripts/network.aliases.sh getvars $2 $3)
|
source <(/home/admin/config.scripts/network.aliases.sh getvars $2 $3)
|
||||||
@@ -141,11 +146,10 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
cd /home/rtl/RTL
|
cd /home/rtl/RTL
|
||||||
# check https://github.com/Ride-The-Lightning/RTL/releases/
|
# check https://github.com/Ride-The-Lightning/RTL/releases/
|
||||||
sudo -u rtl git reset --hard $RTLVERSION
|
sudo -u rtl git reset --hard $RTLVERSION
|
||||||
PGPsigner="saubyk"
|
|
||||||
PGPpubkeyLink="https://github.com/${PGPsigner}.gpg"
|
|
||||||
PGPpubkeyFingerprint="00C9E2BC2E45666F"
|
|
||||||
sudo -u rtl /home/admin/config.scripts/blitz.git-verify.sh \
|
sudo -u rtl /home/admin/config.scripts/blitz.git-verify.sh \
|
||||||
"${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" "${RTLVERSION}" || exit 1
|
"${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" "${RTLVERSION}" || exit 1
|
||||||
|
|
||||||
# from https://github.com/Ride-The-Lightning/RTL/commits/master
|
# from https://github.com/Ride-The-Lightning/RTL/commits/master
|
||||||
# git checkout 917feebfa4fb583360c140e817c266649307ef72
|
# git checkout 917feebfa4fb583360c140e817c266649307ef72
|
||||||
if [ -f /home/rtl/RTL/LICENSE ]; then
|
if [ -f /home/rtl/RTL/LICENSE ]; then
|
||||||
|
Reference in New Issue
Block a user