From 232474337e8d46748bfdf77a9306ff168e1cdb40 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 11 Mar 2022 19:08:34 -0600 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 2edf49c..64bfbc9 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -464,8 +464,15 @@ POSTFIX_INSTALL(){ wget https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/defaults/main.cf -O /etc/postfix/main.cf wget https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/defaults/sender_canonical -O /etc/postfix/sender_canonical - read -p "Server hostname: " pfhostname + hostname=`hostname` + echo -e -n "${idsCL[LightCyan]}Server Name (Default=${hostname}): ${idsCL[Default]}" + read pfhostname echo "" + + if [ "${pfhostname}" = "" ]; then + pfhostname=${hostname} + fi + read -p "Default from email (portion before @scity.us): " pffromemail echo ""