mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-23 21:18:07 +00:00
Improve message on unsupported devices when starting joininbox
This commit is contained in:
parent
22d72f6db3
commit
a2b12bfd4d
|
@ -3,8 +3,13 @@
|
|||
# mynode-joinmarket
|
||||
# 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
|
||||
#cd ~/joinmarket-clientserver/
|
||||
#source jmvenv/bin/activate
|
||||
|
|
Loading…
Reference in New Issue
Block a user