install_postfix_advanced.sh, install_postfwd.sh: minor changes.
This commit is contained in:
		| @@ -1139,7 +1139,7 @@ else | |||||||
| fi | fi | ||||||
|  |  | ||||||
| echononl "   Create configuration file '/etc/postfix/postfwd.cf'.." | 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 | 	cat << EOF > /etc/postfix/postfwd.cf | ||||||
|  |  | ||||||
| #======= Definitions ============ | #======= Definitions ============ | ||||||
| @@ -1283,9 +1283,9 @@ EOF | |||||||
| 	else | 	else | ||||||
| 		echo_failed | 		echo_failed | ||||||
| 	fi | 	fi | ||||||
| #else | else | ||||||
| #	echo_skipped | 	echo_skipped | ||||||
| #fi | fi | ||||||
|  |  | ||||||
| echononl "   Enable Postfix firewall daemon at boot time .." | echononl "   Enable Postfix firewall daemon at boot time .." | ||||||
| if $systemd_exists ; then | if $systemd_exists ; then | ||||||
|   | |||||||
| @@ -326,7 +326,7 @@ else | |||||||
| fi | fi | ||||||
|  |  | ||||||
| echononl "   Create configuration file '/etc/postfix/postfwd.cf'.." | 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 | 	cat << EOF > /etc/postfix/postfwd.cf | ||||||
|  |  | ||||||
| #======= Definitions ============ | #======= Definitions ============ | ||||||
| @@ -470,9 +470,9 @@ EOF | |||||||
| 	else | 	else | ||||||
| 		echo_failed | 		echo_failed | ||||||
| 	fi | 	fi | ||||||
| else | #else | ||||||
| 	echo_skipped | #	echo_skipped | ||||||
| fi | #fi | ||||||
|  |  | ||||||
| echononl "   Restart Postfix firewall daemon 'postfwd'.." | echononl "   Restart Postfix firewall daemon 'postfwd'.." | ||||||
| if $systemd_exists ; then | if $systemd_exists ; then | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user