From 7821e7223157f9f4c4d5b49253079b671b0cff7c Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Wed, 23 Oct 2019 14:08:05 +0200 Subject: [PATCH] Updated vars Gnegne --- installer.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/installer.sh b/installer.sh index 4e8fe3e..c82144f 100644 --- a/installer.sh +++ b/installer.sh @@ -64,9 +64,9 @@ echo "$1" fi } -##-----------------## -# Static-Vars # -##-----------------## +##-------------------------------## +# CONFIG OPTIONS FUCKA YOUAH # +##-------------------------------## phpver=7.3 domonly=${domain} domain=mail.${domain} @@ -75,6 +75,7 @@ dhparam=1024 PKGA="add-apt-repository" PKGI="${PKGM} install -y" db_pass=$(date +%s|sha256sum|base64|head -c 32) +ipadr=`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/main_mailer_type string 'Internet Site'"