home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 24 Apr 2020 20:39:29 +0000 (22:39 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 24 Apr 2020 20:39:29 +0000 (22:39 +0200)
buster/setup_scripts/setup_dumpsite.sh

index 1fb3cccbfe7b928c79792b2c1485a07435a8c60d..000045b6b73afb3c486c110ad85db2142eb0b104 100755 (executable)
@@ -1,9 +1,8 @@
 #!/bin/sh
 set -e
 #!/bin/sh
 set -e
-set -x
 
 if [ "$#" -ne 3 ]; then
 
 if [ "$#" -ne 3 ]; then
-    echo 'Need domain name and mail and old server.'
+    echo 'Need domain name (choose wisely!) and mail and old server.'
     false
 fi
 domain="$1"
     false
 fi
 domain="$1"
@@ -12,6 +11,7 @@ old_server="$3"
 
 # Install configs, set up firewall.
 echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections
 
 # Install configs, set up firewall.
 echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections
+# TODO: do we really want hostname as mailname?
 echo "postfix postfix/mailname string $(hostname -f)" | debconf-set-selections
 config_tree_prefix="${HOME}/config/buster"
 ./install_for_target.sh web dumpsite
 echo "postfix postfix/mailname string $(hostname -f)" | debconf-set-selections
 config_tree_prefix="${HOME}/config/buster"
 ./install_for_target.sh web dumpsite