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'"