#!/usr/bin/with-contenv bashio CONFIG_DIR="/addon_config/adguardhome" # Erstelle Verzeichnis falls nicht existent if [ ! -d "$CONFIG_DIR" ]; then mkdir -p "$CONFIG_DIR" fi # Symlink für die Konfiguration setzen ln -sfn "$CONFIG_DIR" /opt/adguardhome/conf echo "Starte AdGuard Home..." /opt/adguardhome/AdGuardHome \ -c /opt/adguardhome/conf/AdGuardHome.yaml \ -w /opt/adguardhome/work \ --no-check-update