Update 'installer.sh'

This commit is contained in:
b.waal
2019-10-24 09:14:37 +02:00
parent 7821e72231
commit e9577e3034

View File

@@ -75,7 +75,7 @@ dhparam=1024
PKGA="add-apt-repository" PKGA="add-apt-repository"
PKGI="${PKGM} install -y" PKGI="${PKGM} install -y"
db_pass=$(date +%s|sha256sum|base64|head -c 32) db_pass=$(date +%s|sha256sum|base64|head -c 32)
ipadr=`ip -o route get 8.8.8.8 | sed -e 's/^.* src \([^ ]*\) .*$/\1/'` wan=`ip -o route get 8.8.8.8 | sed -e 's/^.* src \([^ ]*\) .*$/\1/'`
debconf-set-selections <<< "postfix postfix/mailname string $(hostname -f)" debconf-set-selections <<< "postfix postfix/mailname string $(hostname -f)"
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'" debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"