diff --git a/zmb-ad.sh b/zmb-ad.sh index 805dfd2..7d77157 100644 --- a/zmb-ad.sh +++ b/zmb-ad.sh @@ -5,11 +5,15 @@ # (C) 2021 Script design and prototype by Markus Helmke # (C) 2021 Script rework and documentation by Thorsten Spille -# configure system language -dpkg-reconfigure locales - source /root/zamba.conf +sed -i "s|# $LXC_LOCALE|$LXC_LOCALE|" /etc/locale.gen +cat << EOF > /etc/default/locale +LANG="$LXC_LOCALE" +LANGUAGE=$LXC_LOCALE +EOF +locale-gen $LXC_LOCALE + if [[ $ZMB_DNS_BACKEND == "BIND9_DLZ" ]]; then BINDNINE=bind9 fi