feat: implement global autoresponder plugin
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
BASE_DIR="/usr/local/hitme_plugins/global-autoresponders"
|
||||
if [ "${PURGE_GLOBAL_AUTORESPONDER_DATA:-0}" = "1" ]; then
|
||||
rm -rf "$BASE_DIR"
|
||||
echo "global-autoresponder data purged"
|
||||
else
|
||||
echo "global-autoresponder uninstalled; external data preserved at $BASE_DIR"
|
||||
fi
|
||||
Reference in New Issue
Block a user