From 8ac58e6369257f9df2dc732418d453c26b525ce8 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 30 Nov 2021 02:38:31 +0100 Subject: [PATCH] IPFSNODEID=$(ipfs --timeout=20s id -f='\n') --- ajouter_video.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajouter_video.sh b/ajouter_video.sh index 246dc58..38d4d7b 100755 --- a/ajouter_video.sh +++ b/ajouter_video.sh @@ -52,7 +52,7 @@ large=$((width-300)) haut=$((height-200)) ######################################################################## -IPFSNODEID=$(ipfs id -f='\n') +IPFSNODEID=$(ipfs --timeout=20s id -f='\n') [[ -f ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_g1.gchange_title ]] && XGUID="$(cat ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_g1.gchange_title)" || XGUID="$(cat /etc/hostname)" [[ -f ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid ]] && XZUID=$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid)