2021-02-18 03:22:05 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# mynode-joininbox
|
|
|
|
# This script needs to be run with sudo so it can run as the joinmarket user
|
|
|
|
|
2021-06-04 04:04:18 +00:00
|
|
|
source /usr/share/mynode/mynode_config.sh
|
|
|
|
|
|
|
|
if [ $IS_RASPI = 1 ] || [ $IS_X86 = 1 ]; then
|
|
|
|
sudo -u joinmarket bash -c "cd /home/joinmarket/; source /home/joinmarket/joinmarket-clientserver/jmvenv/bin/activate; ./menu.sh"
|
|
|
|
else
|
|
|
|
echo "JoininBox is currently only supported on RP4 and x86"
|
|
|
|
fi
|