Improve message on unsupported devices when starting joininbox

This commit is contained in:
Taylor Helsper 2021-06-04 00:18:59 -05:00
parent 22d72f6db3
commit a2b12bfd4d

View File

@ -3,8 +3,13 @@
# mynode-joinmarket # mynode-joinmarket
# This script needs to be run with sudo so it can run as the joinmarket user # This script needs to be run with sudo so it can run as the joinmarket user
sudo -u joinmarket bash -c "cd /home/joinmarket/joinmarket-clientserver; bash --rcfile <(echo '. ~/.bashrc; source ./jmvenv/bin/activate; cd scripts')" source /usr/share/mynode/mynode_config.sh
if [ $IS_RASPI = 1 ] || [ $IS_X86 = 1 ]; then
sudo -u joinmarket bash -c "cd /home/joinmarket/joinmarket-clientserver; bash --rcfile <(echo '. ~/.bashrc; source ./jmvenv/bin/activate; cd scripts')"
else
echo "Joinmarket is currently only supported on RP4 and x86"
fi
#sudo su joinmarket #sudo su joinmarket
#cd ~/joinmarket-clientserver/ #cd ~/joinmarket-clientserver/
#source jmvenv/bin/activate #source jmvenv/bin/activate