joininbox update to commit b0efe45

remove  sudo use for menu
This commit is contained in:
openoms 2022-01-05 10:37:25 +00:00
parent 68d7e79c8e
commit 1c9e96b033
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65
2 changed files with 15 additions and 14 deletions

View File

@ -268,7 +268,7 @@ case $CHOICE in
/home/admin/config.scripts/bonus.specter.sh menu
;;
JM)
sudo /home/admin/config.scripts/bonus.joinmarket.sh menu
/home/admin/config.scripts/bonus.joinmarket.sh menu
;;
FARADAY)
sudo /home/admin/config.scripts/bonus.faraday.sh menu

View File

@ -5,7 +5,8 @@
# https://github.com/openoms/bitcoin-tutorials/tree/master/joinmarket
# https://github.com/openoms/joininbox
JBVERSION="v0.6.5" # with JoinMarket v0.9.4
# JBVERSION="v0.6.5" # with JoinMarket v0.9.4
JBVERSION="b0efe45" # dev
# command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
@ -15,18 +16,6 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
exit 1
fi
PGPsigner="openoms"
PGPpubkeyLink="https://github.com/openoms.gpg"
PGPpubkeyFingerprint="13C688DB5B9C745DE4D2E4545BFB77609B081B65"
# check if sudo
if [ "$EUID" -ne 0 ]
then echo "Please run as root (with sudo)"
exit
fi
source /mnt/hdd/raspiblitz.conf
# show info menu
if [ "$1" = "menu" ]; then
whiptail --title " JoinMarket info " --msgbox "
@ -38,6 +27,18 @@ https://github.com/openoms/bitcoin-tutorials/blob/master/joinmarket/README.md
exit 0
fi
# check if sudo
if [ "$EUID" -ne 0 ]
then echo "Please run as root (with sudo)"
exit
fi
PGPsigner="openoms"
PGPpubkeyLink="https://github.com/openoms.gpg"
PGPpubkeyFingerprint="13C688DB5B9C745DE4D2E4545BFB77609B081B65"
source /mnt/hdd/raspiblitz.conf
# switch on
if [ "$1" = "1" ] || [ "$1" = "on" ]; then
echo "# INSTALL JOINMARKET"