X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=all_new_2018%2Fsetup_server.sh;h=ea3437a444c899911e08800f2a613ffdcef627d6;hb=86f4b75d0db3806188b2720776a9ce8b0db63d59;hp=c3d5ce5f54c0e02c48762a42c455db78230a5462;hpb=09900401ee9dabdfc29b338f8d90f8904b4eb9b3;p=config diff --git a/all_new_2018/setup_server.sh b/all_new_2018/setup_server.sh index c3d5ce5..ea3437a 100755 --- a/all_new_2018/setup_server.sh +++ b/all_new_2018/setup_server.sh @@ -5,7 +5,7 @@ set -e # Provide maximum input for set_hostname_and_fqdn.sh. if [ "$#" -ne 2 ]; then - echo "Need exactly two arguments (hostname, FQDN)." + echo 'Need exactly two arguments (hostname, FQDN).' false fi hostname="$1" @@ -21,8 +21,8 @@ fqdn="$2" # Some debconf selections we don't want to get asked during coming # install actions. -debconf-set-selections <<< "iptables-persistent iptables-persistent/autosave_v4 boolean false" -debconf-set-selections <<< "iptables-persistent iptables-persistent/autosave_v6 boolean false" +echo 'iptables-persistent iptables-persistent/autosave_v4 boolean false' | debconf-set-selections +echo 'iptables-persistent iptables-persistent/autosave_v6 boolean false' | debconf-set-selections # Ensure package installation state as defined by what packages are # defined as required by Debian policy and by settings in ./apt-mark/.