Joininbox update v0.1.9 (#1626)

This commit is contained in:
openoms
2020-10-06 19:45:29 +01:00
committed by rootzoll
parent e8ef773b20
commit 204e736cbd
2 changed files with 5 additions and 1 deletions

View File

@@ -121,6 +121,7 @@ function status() {
# switch to the bos user for Balance of Satoshis # switch to the bos user for Balance of Satoshis
function bos() { function bos() {
if [ $(grep -c "bos=on" < /mnt/hdd/raspiblitz.conf) -eq 1 ]; then if [ $(grep -c "bos=on" < /mnt/hdd/raspiblitz.conf) -eq 1 ]; then
echo "# switching to the bos user with the command: 'sudo su - bos'"
sudo su - bos sudo su - bos
else else
echo "Balance of Satoshis is not installed - to install run:" echo "Balance of Satoshis is not installed - to install run:"
@@ -132,6 +133,7 @@ function bos() {
# switch to the joinmarket user for the JoininBox menu # switch to the joinmarket user for the JoininBox menu
function jm() { function jm() {
if [ $(grep -c "joinmarket=on" < /mnt/hdd/raspiblitz.conf) -eq 1 ]; then if [ $(grep -c "joinmarket=on" < /mnt/hdd/raspiblitz.conf) -eq 1 ]; then
echo "# switching to the joinmarket user with the command: 'sudo su - joinmarket'"
sudo su - joinmarket sudo su - joinmarket
else else
echo "JoinMarket is not installed - to install run:" echo "JoinMarket is not installed - to install run:"
@@ -143,6 +145,7 @@ function jm() {
# switch to the faraday user for the Faraday Service # switch to the faraday user for the Faraday Service
function faraday() { function faraday() {
if [ $(grep -c "faraday=on" < /mnt/hdd/raspiblitz.conf) -eq 1 ]; then if [ $(grep -c "faraday=on" < /mnt/hdd/raspiblitz.conf) -eq 1 ]; then
echo "# switching to the faraday user with the command: 'sudo su - faraday'"
sudo su - faraday sudo su - faraday
else else
echo "Faraday is not installed - to install run:" echo "Faraday is not installed - to install run:"
@@ -154,6 +157,7 @@ function faraday() {
# switch to the loop user for the Lightning Loop Service # switch to the loop user for the Lightning Loop Service
function loop() { function loop() {
if [ $(grep -c "loop=on" < /mnt/hdd/raspiblitz.conf) -eq 1 ]; then if [ $(grep -c "loop=on" < /mnt/hdd/raspiblitz.conf) -eq 1 ]; then
echo "# switching to the loop user with the command: 'sudo su - loop'"
sudo su - loop sudo su - loop
else else
echo "Lightning Loop is not installed - to install run:" echo "Lightning Loop is not installed - to install run:"

View File

@@ -125,7 +125,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
sudo -u joinmarket git clone https://github.com/openoms/joininbox.git /home/joinmarket/joininbox sudo -u joinmarket git clone https://github.com/openoms/joininbox.git /home/joinmarket/joininbox
# check the latest at: # check the latest at:
# https://github.com/openoms/joininbox/releases/ # https://github.com/openoms/joininbox/releases/
sudo -u joinmarket git reset --hard v0.1.8 sudo -u joinmarket git reset --hard v0.1.9
sudo -u joinmarket cp /home/joinmarket/joininbox/scripts/* /home/joinmarket/ sudo -u joinmarket cp /home/joinmarket/joininbox/scripts/* /home/joinmarket/
sudo -u joinmarket cp /home/joinmarket/joininbox/scripts/.* /home/joinmarket/ 2>/dev/null sudo -u joinmarket cp /home/joinmarket/joininbox/scripts/.* /home/joinmarket/ 2>/dev/null
sudo chmod +x /home/joinmarket/*.sh sudo chmod +x /home/joinmarket/*.sh