From 2915768d6c7cecdee99398e622792fec4cd846ac Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 12 May 2020 18:55:17 +0200 Subject: [PATCH] correct diskperf display bug with . or , --- zen/ssb_INIT.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zen/ssb_INIT.sh b/zen/ssb_INIT.sh index 37abb44..03a0731 100755 --- a/zen/ssb_INIT.sh +++ b/zen/ssb_INIT.sh @@ -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