diff --git a/home.admin/_commands.sh b/home.admin/_commands.sh index 25cad6f0f..1581b286a 100755 --- a/home.admin/_commands.sh +++ b/home.admin/_commands.sh @@ -111,9 +111,9 @@ function status() { sudo -u pi /home/admin/00infoLCD.sh --pause 0 } -# command: balance +# command: bos # switch to the bos user for Balance of Satoshis -function balance() { +function bos() { if [ $(grep -c "bos=on" < /mnt/hdd/raspiblitz.conf) -eq 1 ]; then sudo su - bos else @@ -122,9 +122,9 @@ function balance() { fi } -# command: jmarket +# command: jm # switch to the joinmarket user for the JoininBox menu -function jmarket() { +function jm() { if [ $(grep -c "joinmarket=on" < /mnt/hdd/raspiblitz.conf) -eq 1 ]; then sudo su - joinmarket else diff --git a/home.admin/config.scripts/bonus.bos.sh b/home.admin/config.scripts/bonus.bos.sh index 8e03e9f32..2851f09d5 100755 --- a/home.admin/config.scripts/bonus.bos.sh +++ b/home.admin/config.scripts/bonus.bos.sh @@ -16,11 +16,12 @@ fi # show info menu if [ "$1" = "menu" ]; then - dialog --title " Info Balance of Satoshis " --msgbox "\n\ + dialog --title " Info Balance of Satoshis " --msgbox " +Balance of Satoshis is a command line tool. +Type: 'bos' in the command line to switch to the dedicated user. +Then see 'bos help' for the options. Usage: https://github.com/alexbosworth/balanceofsatoshis/blob/master/README.md -To start type: 'sudo su bos' in the command line.\n -Then see 'bos help' for options. -" 9 75 +" 10 75 exit 0 fi diff --git a/home.admin/config.scripts/bonus.joinmarket.sh b/home.admin/config.scripts/bonus.joinmarket.sh index 26d8ae29a..7d912a68c 100755 --- a/home.admin/config.scripts/bonus.joinmarket.sh +++ b/home.admin/config.scripts/bonus.joinmarket.sh @@ -27,13 +27,13 @@ fi # show info menu if [ "$1" = "menu" ]; then - whiptail --title " JoinMarket info " --msgbox "Usage: -https://github.com/openoms/bitcoin-tutorials/blob/master/joinmarket/README.md\n -Start to use by logging in to the 'joinmarket' user with: -sudo su joinmarket\n + whiptail --title " JoinMarket info " --msgbox " +Type: 'jm' in the command line to swith to the dedicated user and start the JoininBox menu. +Notes on usage: +https://github.com/openoms/bitcoin-tutorials/blob/master/joinmarket/README.md Can log in directly with the 'joinmarket' user via ssh. The user password is the PASSWORD_B. -" 14 81 +" 13 81 exit 0 fi