mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
fix: typo in setup-stack.sh (#2521)
This commit is contained in:
parent
04e452a1ee
commit
05f680b472
|
@ -654,7 +654,7 @@ function _setup_dkim
|
||||||
[[ ! -f /etc/opendkim/KeyTable ]] && touch /etc/opendkim/KeyTable
|
[[ ! -f /etc/opendkim/KeyTable ]] && touch /etc/opendkim/KeyTable
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# setup nameservers paramater from /etc/resolv.conf if not defined
|
# setup nameservers parameter from /etc/resolv.conf if not defined
|
||||||
if ! grep '^Nameservers' /etc/opendkim.conf
|
if ! grep '^Nameservers' /etc/opendkim.conf
|
||||||
then
|
then
|
||||||
echo "Nameservers $(grep '^nameserver' /etc/resolv.conf | awk -F " " '{print $2}' | paste -sd ',' -)" >>/etc/opendkim.conf
|
echo "Nameservers $(grep '^nameserver' /etc/resolv.conf | awk -F " " '{print $2}' | paste -sd ',' -)" >>/etc/opendkim.conf
|
||||||
|
|
Loading…
Reference in a new issue