diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2020-09-03 18:51:56 +0200 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2020-09-03 18:51:56 +0200 |
commit | 2874a4583ea55a754c30d929cb849fa104a46027 (patch) | |
tree | e294b8c784b1507a0b0475b3e822dc30f5878648 | |
parent | 74ca81df467c8fb24c0f6b8da333f252f0210a10 (diff) |
fastd verify add blacklist
-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 |