From 9d525d51197e05ba5d6af9c724d58664dbce45f7 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 12 Aug 2021 02:09:36 +0200 Subject: [PATCH] With second parameter ~/.zen/astrXbian/actions/view_counter_increment_or_allow.sh $MEDIAKEYIPNS $G1PUB activates API access --- actions/view_counter_increment_or_allow.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/view_counter_increment_or_allow.sh b/actions/view_counter_increment_or_allow.sh index 417e982..5095ece 100755 --- a/actions/view_counter_increment_or_allow.sh +++ b/actions/view_counter_increment_or_allow.sh @@ -30,7 +30,7 @@ MEDIAKEY=$(cat ./*/.id | tail -n 1) if [[ ! $(ipfs key list -l | grep $MEDIAKEY) ]]; then ## SEND A MESSAGE ASKING FOR THE KEY (I am a bootstrap or http gateway) for sharedowners in $(ls -d */ | cut -d '/' -f 1); do - ~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" send -d "$sharedowners" -t "MEDIAKEY ask for sharing contract" -m "I was wishing to increment $MEDIAKEY views, but not in your contracts yet. Please send me your ./ipfs/keystore/$MEDIAKEYIPNS to activate." + ~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" send -d "$sharedowners" -t "MEDIAKEY ask for sharing contract" -m "I was wishing to increment $MEDIAKEY views, but not in your contracts yet. Please run ~/.zen/astrXbian/actions/view_counter_increment_or_allow.sh $MEDIAKEYIPNS $G1PUB to activate." done exit 1 fi