diff options
Diffstat (limited to 'roles/install_fastd/files')
-rw-r--r-- | roles/install_fastd/files/verify.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/install_fastd/files/verify.sh b/roles/install_fastd/files/verify.sh index 039e4d0..77cf5f4 100644 --- a/roles/install_fastd/files/verify.sh +++ b/roles/install_fastd/files/verify.sh @@ -1,2 +1,6 @@ #!/bin/sh +if grep -q $PEER_KEY /etc/fastd_blacklist; then + echo $PEER_KEY blacklisted + exit 1 +fi exit 0 |