This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user