This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Celestia Node Sync Status Checker | |
| # Tests multiple RPC endpoints and compares local node sync status | |
| # | |
| # Usage: ./celestia_sync_check.sh [--once] [--mainnet|--mocha] | |
| # | |
| set -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Celestia Node Sync Status Checker | |
| # Tests multiple RPC endpoints and compares local node sync status | |
| # | |
| # Usage: ./celestia_sync_check.sh [--once] [--mainnet|--mocha] | |
| # | |
| set -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Celestia Node Sync Status Checker | |
| # Tests multiple RPC endpoints and compares local node sync status | |
| # | |
| # Usage: ./celestia_sync_check.sh [--once] [--mainnet|--mocha] | |
| # | |
| set -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Check if the user "automata" exists | |
| if id -u "automata" >/dev/null 2>&1; then | |
| echo "User 'automata' already exists." | |
| else | |
| echo "User 'automata' does not exist. Creating..." | |
| useradd -m -s /bin/bash automata | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| logging level aaa 6 | |
| logging level acllog 2 | |
| logging level aclmgr 3 | |
| logging level afm 3 | |
| logging level auth 0 | |
| logging level authpriv 3 | |
| logging level bcm_usd 3 | |
| logging level bootvar 5 | |
| logging level callhome 2 | |
| logging level capability 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Strict bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| # Set URL for testing | |
| MY_URL= | |
| curl -I -X OPTIONS \ |