mynode/rootfs/standard/usr/bin/is_mainnet.sh
2021-03-14 00:05:39 -06:00

11 lines
172 B
Bash
Executable File

#!/bin/bash
source /usr/share/mynode/mynode_config.sh
# Check if testnet
if [ -f $IS_TESTNET_ENABLED_FILE ]; then
exit 1
fi
# We are on mainnet (exit success)
exit 0