mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 12:36:27 +02:00
joininbox update to commit b0efe45
remove sudo use for menu
This commit is contained in:
@@ -268,7 +268,7 @@ case $CHOICE in
|
|||||||
/home/admin/config.scripts/bonus.specter.sh menu
|
/home/admin/config.scripts/bonus.specter.sh menu
|
||||||
;;
|
;;
|
||||||
JM)
|
JM)
|
||||||
sudo /home/admin/config.scripts/bonus.joinmarket.sh menu
|
/home/admin/config.scripts/bonus.joinmarket.sh menu
|
||||||
;;
|
;;
|
||||||
FARADAY)
|
FARADAY)
|
||||||
sudo /home/admin/config.scripts/bonus.faraday.sh menu
|
sudo /home/admin/config.scripts/bonus.faraday.sh menu
|
||||||
|
@@ -5,7 +5,8 @@
|
|||||||
# https://github.com/openoms/bitcoin-tutorials/tree/master/joinmarket
|
# https://github.com/openoms/bitcoin-tutorials/tree/master/joinmarket
|
||||||
# https://github.com/openoms/joininbox
|
# 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
|
# command info
|
||||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||||
@@ -15,18 +16,6 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
# show info menu
|
||||||
if [ "$1" = "menu" ]; then
|
if [ "$1" = "menu" ]; then
|
||||||
whiptail --title " JoinMarket info " --msgbox "
|
whiptail --title " JoinMarket info " --msgbox "
|
||||||
@@ -38,6 +27,18 @@ https://github.com/openoms/bitcoin-tutorials/blob/master/joinmarket/README.md
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
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
|
# switch on
|
||||||
if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||||
echo "# INSTALL JOINMARKET"
|
echo "# INSTALL JOINMARKET"
|
||||||
|
Reference in New Issue
Block a user