With second parameter ~/.zen/astrXbian/actions/view_counter_increment_or_allow.sh $MEDIAKEYIPNS $G1PUB activates API access

This commit is contained in:
fred 2021-08-12 02:09:36 +02:00
parent 71b8b6bbc6
commit 9d525d5119
1 changed files with 1 additions and 1 deletions

View File

@ -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