This commit is contained in:
qo-op 2021-07-08 06:21:51 +02:00
parent 90b2dd4e12
commit 8b600aa136
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ phonehash=$(echo $phone | sha256sum | cut -d ' ' -f1)
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) || echo "ipfs daemon not running" && exit 1
SMSADMIN="$(cat /home/${YOU}/.zen/SMSADMIN)"
ls /home/${YOU}/.zen/SMS/PHONE/${phonehash}/GUILDES/
guilde=""
for guildes in /home/${YOU}/.zen/SMS/PHONE/${phonehash}/GUILDES/*; do
guilde="$(echo "$guildes" | cut -d '/' -f 9);$guilde"