From 352b59c997f3af3a650ee0c0dd204ecd61fe6df2 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 17 Sep 2022 01:09:40 +0200 Subject: [PATCH] install_postfix_advanced.sh, install_postfwd.sh: minor changes. --- install_postfix_advanced.sh | 8 ++++---- install_postfwd.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/install_postfix_advanced.sh b/install_postfix_advanced.sh index 1de075e..b65d232 100755 --- a/install_postfix_advanced.sh +++ b/install_postfix_advanced.sh @@ -1139,7 +1139,7 @@ else fi echononl " Create configuration file '/etc/postfix/postfwd.cf'.." -#if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then +if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then cat << EOF > /etc/postfix/postfwd.cf #======= Definitions ============ @@ -1283,9 +1283,9 @@ EOF else echo_failed fi -#else -# echo_skipped -#fi +else + echo_skipped +fi echononl " Enable Postfix firewall daemon at boot time .." if $systemd_exists ; then diff --git a/install_postfwd.sh b/install_postfwd.sh index 4e9d7a9..00113f5 100755 --- a/install_postfwd.sh +++ b/install_postfwd.sh @@ -326,7 +326,7 @@ else fi echononl " Create configuration file '/etc/postfix/postfwd.cf'.." -if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then +#if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then cat << EOF > /etc/postfix/postfwd.cf #======= Definitions ============ @@ -470,9 +470,9 @@ EOF else echo_failed fi -else - echo_skipped -fi +#else +# echo_skipped +#fi echononl " Restart Postfix firewall daemon 'postfwd'.." if $systemd_exists ; then