Última actividad 1 month ago

Revisión 550c5beb4d4d99d388ed1ea06cc2680a45227ec2

gistfile1.txt Sin formato
1 while IFS= read -r name; do
2 [[ -f "$(ctx::block::path "${name}.block")" ]] \
3 && p_restricted["$name"]=true || p_restricted["$name"]=false
4 local pubkey
5 pubkey=$(keys::public "$name" 2>/dev/null || echo "")
6 if [[ -n "$pubkey" ]] && ! echo "$wg_peers" | grep -qF "$pubkey"; then
7 p_blocked["$name"]=true
8 else
9 p_blocked["$name"]=false
10 fi
11 done < <(peers::all)