diff options
Diffstat (limited to 'postfix')
-rwxr-xr-x | postfix/postfix.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index 9b075cb..a82d746 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -29,6 +29,8 @@ exit1() { exit 1 } +FORCE=${FORCE:-} + REDPILL=${REDPILL:-REDPILL} REALM=${REALM:-ORG} @@ -441,7 +443,7 @@ _postconf -MX smtp-amavis/unix diff -ruNw "$confdir" "$tempdir" || if [ $? -gt 1 ]; then exit $?; else needs_reload=1; fi -if [ "$force" = "1" ]; then +if [ "1" = "$FORCE" ]; then do_update=y elif [ "1" = "$needs_reload" ]; then echo -n "Above is the intended changes. OK to update (y/N)? " |