mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-28 15:31:37 +00:00
15 lines
277 B
Bash
Executable File
15 lines
277 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
source /usr/share/mynode/mynode_config.sh
|
|
|
|
# Don't start bitcoin if we are marked as an uploader
|
|
echo "Checking if uploader..."
|
|
while [ -f $UPLOADER_FILE ]; do
|
|
echo "We are an uploader, sleeping for 15 minutes..."
|
|
/bin/sleep 15m
|
|
done
|
|
|
|
exit 0 |