From 2874a4583ea55a754c30d929cb849fa104a46027 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Thu, 3 Sep 2020 18:51:56 +0200 Subject: fastd verify add blacklist --- roles/install_fastd/files/verify.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-54-g00ecf