mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-26 04:00:13 +01:00
Changed setting locale #20
This commit is contained in:
parent
7d8fe9a639
commit
bfcb4d6c84
10
zmb-ad.sh
10
zmb-ad.sh
@ -5,11 +5,15 @@
|
|||||||
# (C) 2021 Script design and prototype by Markus Helmke <m.helmke@nettwarker.de>
|
# (C) 2021 Script design and prototype by Markus Helmke <m.helmke@nettwarker.de>
|
||||||
# (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
|
# (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
|
||||||
|
|
||||||
# configure system language
|
|
||||||
dpkg-reconfigure locales
|
|
||||||
|
|
||||||
source /root/zamba.conf
|
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
|
if [[ $ZMB_DNS_BACKEND == "BIND9_DLZ" ]]; then
|
||||||
BINDNINE=bind9
|
BINDNINE=bind9
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user