diff --git a/README.md b/README.md index f1cd6d7..eec43e3 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ sudo journalctl -u adguard-shield -f # Logs live ver │ ├── report.html # HTML-Report-Template │ └── report.txt # TXT-Report-Template ├── README.md -└── doc/ +└── docs/ ├── architektur.md # Architektur & Funktionsweise ├── konfiguration.md # Alle Parameter erklärt + Konfig-Migration ├── befehle.md # Vollständige Befehlsreferenz inkl. Installer @@ -125,12 +125,12 @@ sudo journalctl -u adguard-shield -f # Logs live ver | Dokument | Inhalt | |----------|--------| -| [Architektur](doc/architektur.md) | Wie das Tool funktioniert, iptables-Strategie, Konfig-Migration | -| [Konfiguration](doc/konfiguration.md) | Alle Parameter, Ports, Whitelist-Pflege, automatische Migration | -| [Befehle](doc/befehle.md) | Vollständige Befehlsreferenz für Installer, Monitor, iptables-Helper und systemd | -| [Benachrichtigungen](doc/benachrichtigungen.md) | Setup für Discord, Slack, Gotify, Ntfy | -| [E-Mail Report](doc/report.md) | Periodische Statistik-Reports per E-Mail (HTML/TXT) | -| [Tipps & Troubleshooting](doc/tipps-und-troubleshooting.md) | Best Practices, häufige Probleme, Deinstallation | +| [Architektur](docs/architektur.md) | Wie das Tool funktioniert, iptables-Strategie, Konfig-Migration | +| [Konfiguration](docs/konfiguration.md) | Alle Parameter, Ports, Whitelist-Pflege, automatische Migration | +| [Befehle](docs/befehle.md) | Vollständige Befehlsreferenz für Installer, Monitor, iptables-Helper und systemd | +| [Benachrichtigungen](docs/benachrichtigungen.md) | Setup für Discord, Slack, Gotify, Ntfy | +| [E-Mail Report](docs/report.md) | Periodische Statistik-Reports per E-Mail (HTML/TXT) | +| [Tipps & Troubleshooting](docs/tipps-und-troubleshooting.md) | Best Practices, häufige Probleme, Deinstallation | ## Lizenz diff --git a/adguard-shield.sh b/adguard-shield.sh index 8ca30bf..6f25fd8 100644 --- a/adguard-shield.sh +++ b/adguard-shield.sh @@ -551,9 +551,9 @@ send_notification() { message="🚫 AdGuard Shield: Client **$client_ip** gesperrt (${count}x $domain in ${window}s via **$protocol**, ${reason_label}). Sperre für ${simple_dur}." fi elif [[ "$action" == "service_start" ]]; then - message="🟢 AdGuard Shield v${VERSION} wurde gestartet." + message="🟢 AdGuard Shield ${VERSION} wurde gestartet." elif [[ "$action" == "service_stop" ]]; then - message="🔴 AdGuard Shield v${VERSION} wurde gestoppt." + message="🔴 AdGuard Shield ${VERSION} wurde gestoppt." else message="✅ AdGuard Shield: Client **$client_ip** wurde entsperrt." fi @@ -1097,7 +1097,7 @@ stop_blocklist_worker() { # ─── Hauptschleife ────────────────────────────────────────────────────────── main_loop() { log "INFO" "═══════════════════════════════════════════════════════════" - log "INFO" "AdGuard Shield v${VERSION} gestartet" + log "INFO" "AdGuard Shield ${VERSION} gestartet" log "INFO" " Limit: ${RATE_LIMIT_MAX_REQUESTS} Anfragen pro ${RATE_LIMIT_WINDOW}s" log "INFO" " Sperrdauer: $(format_duration "${BAN_DURATION}")" log "INFO" " Prüfintervall: ${CHECK_INTERVAL}s" @@ -1150,7 +1150,7 @@ trap cleanup SIGTERM SIGINT SIGHUP # ─── Kommandozeilen-Argumente ──────────────────────────────────────────────── case "${1:-start}" in start) - echo "[$(date '+%Y-%m-%d %H:%M:%S')] [INFO] AdGuard Shield v${VERSION} wird gestartet..." + echo "[$(date '+%Y-%m-%d %H:%M:%S')] [INFO] AdGuard Shield ${VERSION} wird gestartet..." check_dependencies check_already_running init_directories @@ -1250,7 +1250,7 @@ case "${1:-start}" in ;; *) cat << USAGE -AdGuard Shield v${VERSION} +AdGuard Shield ${VERSION} Service-Steuerung (empfohlen): sudo systemctl start adguard-shield diff --git a/doc/architektur.md b/docs/architektur.md similarity index 100% rename from doc/architektur.md rename to docs/architektur.md diff --git a/doc/befehle.md b/docs/befehle.md similarity index 98% rename from doc/befehle.md rename to docs/befehle.md index 4915e3c..a5f6818 100644 --- a/doc/befehle.md +++ b/docs/befehle.md @@ -26,7 +26,7 @@ sudo bash install.sh --help ## Uninstaller (eigenständig) -Ab Version 0.6 wird bei der Installation ein eigenständiger Uninstaller nach `/opt/adguard-shield/uninstall.sh` kopiert. Die Deinstallation kann damit **ohne die originalen Installationsdateien** durchgeführt werden: +Ab Version 0.5.2 wird bei der Installation ein eigenständiger Uninstaller nach `/opt/adguard-shield/uninstall.sh` kopiert. Die Deinstallation kann damit **ohne die originalen Installationsdateien** durchgeführt werden: ```bash # Direkt aus dem Installationsverzeichnis — kein install.sh benötigt diff --git a/doc/benachrichtigungen.md b/docs/benachrichtigungen.md similarity index 100% rename from doc/benachrichtigungen.md rename to docs/benachrichtigungen.md diff --git a/doc/konfiguration.md b/docs/konfiguration.md similarity index 100% rename from doc/konfiguration.md rename to docs/konfiguration.md diff --git a/doc/report.md b/docs/report.md similarity index 100% rename from doc/report.md rename to docs/report.md diff --git a/doc/tipps-und-troubleshooting.md b/docs/tipps-und-troubleshooting.md similarity index 100% rename from doc/tipps-und-troubleshooting.md rename to docs/tipps-und-troubleshooting.md diff --git a/doc/update.md b/docs/update.md similarity index 100% rename from doc/update.md rename to docs/update.md