18 lines
286 B
Bash
Executable File
18 lines
286 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Clear the current cluster configuration
|
|
#
|
|
|
|
here=$(dirname "$0")
|
|
# shellcheck source=multinode-demo/common.sh
|
|
source "$here"/common.sh
|
|
|
|
set -e
|
|
|
|
for i in "$SOLANA_RSYNC_CONFIG_DIR" "$SOLANA_CONFIG_DIR"; do
|
|
echo "Cleaning $i"
|
|
rm -rvf "$i"
|
|
mkdir -p "$i"
|
|
done
|
|
|