#!/bin/bash # No need for a real passphrase as the node will be deleted right after # it connects to the target seed node. It is set in an environment variable # so that rad node start can access it. export RAD_PASSPHRASE="unused_passphrase" echo "$RAD_PASSPHRASE" | rad auth --stdin --alias "probe" echo "Starting node" rad node start echo "Probing $TARGET" rad node connect "$TARGET"