fastd-blacklist.sh 146 B

123456789
  1. #!/bin/bash
  2. PEER_KEY=$1
  3. if /bin/grep -Fq $PEER_KEY /etc/fastd/fastd-blacklist.json /etc/fastd/ffdo-blacklist.txt; then
  4. exit 1
  5. else
  6. exit 0
  7. fi