From f65ec91dfb63e1669b0c94847b86cf1ce467ace0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gero=20M=C3=BCller?= Date: Fri, 18 Mar 2016 22:02:45 +0100 Subject: [PATCH] fix colors --- jessie-server-common.sh | 70 ++++++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/jessie-server-common.sh b/jessie-server-common.sh index 4ae1e95..db519fd 100644 --- a/jessie-server-common.sh +++ b/jessie-server-common.sh @@ -2,52 +2,56 @@ set -e -function main { - echo "Setup best practice default repositories, see http://httpredir.debian.org/" - tee /etc/apt/sources.list < /etc/motd - echo "Nice motd." - figlet `hostname -f | sed 's/\./ \. /'` > /etc/motd +echo "Install system and security utils." +apt install -y systemd-cron apticron ssmtp logwatch +( exec ne /etc/ssmtp/* ) - echo "Install system and security utils." - apt install -y systemd-cron apticron ssmtp logwatch - - ( exec ne /etc/ssmtp/* ) - - echo "Disable unneeded getty" - for i in {4..6} do; - systemctl stop getty@tty$i.service - systemctl disable getty@tty$i.service - done +echo "Disable unneeded getty" +for i in {4..6}; do + systemctl stop getty@tty$i.service + systemctl disable getty@tty$i.service +done } - - -main