mynode/rootfs/standard/usr/bin/mynode-joininbox

12 lines
404 B
Plaintext
Raw Normal View History

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
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