#!/bin/bash set -e function main { echo "Setup best practice default repositories, see http://httpredir.debian.org/" tee /etc/apt/sources.list < /etc/motd echo "Install system and security utils." apt install -y systemd-cron apticron logcheck ssmtp } main