correct diskperf display bug with . or ,

This commit is contained in:
qo-op 2020-05-12 18:55:17 +02:00
parent 9634353e45
commit 2915768d6c
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ g1pub=$(cat ~/.ssb/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)
# GET NODE disk performance. TODO, publish and use as IPFS repartition
echo "DISK PERFORMANCE TESTING"
[[ -f ~/.zen/test.disk ]] && rm -f ~/.zen/test.disk
diskperf=$(dd if=/dev/zero of=~/.zen/test.disk bs=10M count=1 oflag=dsync 2>&1 | tail -n 1 | sed s/\,/\ -/g | cut -d '-' -f 4)
diskperf=$(dd if=/dev/zero of=~/.zen/test.disk bs=10M count=1 oflag=dsync 2>&1 | tail -n 1 | sed s/\,\ /\ -/g | cut -d '-' -f 4)
# IPFS LOCAL REPOSITORY for Node Identity G1 + SSB
mkdir -p ~/.zen/ipfs/.$ipfsnodeid/G1SSB