:-'Generic Commit'
Some checks failed
Build-Test-Publish / Build (push) Failing after 32s

This commit is contained in:
Your Name
2025-05-30 23:14:03 +12:00
parent 7f3387cc19
commit ef97829556
5 changed files with 9 additions and 8 deletions

View File

@@ -1,6 +1,5 @@
#!/bin/bash
# read ~/.config/simple_object_storage/sos_config.json
CONFIG_PATH="./sos_config.json"
if [ ! -f "${CONFIG_PATH}" ]; then
@@ -19,8 +18,6 @@ echo "Calculating original file hash..."
ORIGINAL_HASH=$(sha256sum test_file.bin | cut -d' ' -f1)
echo "Original hash: $ORIGINAL_HASH"
# get the host and port from the config
HOST=$(echo "$CONFIG" | jq -r '.host')
PORT=$(echo "$CONFIG" | jq -r '.port')