Files
mxautologin/scripts/uninstall.sh
T
2026-06-30 20:33:54 +02:00

12 lines
253 B
Bash
Executable File

#!/bin/sh
set -eu
BASE_DIR="/usr/local/hitme_plugins/mx_autologin"
if [ "${PURGE_MAIL_LOGIN_DATA:-0}" = "1" ]; then
rm -rf "$BASE_DIR"
echo "MX-Autologin data purged"
else
echo "MX-Autologin uninstalled; external data preserved at $BASE_DIR"
fi