forked from axiom-team/astroport
correct diskperf display bug with . or ,
This commit is contained in:
parent
9634353e45
commit
2915768d6c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue