From 098195fe8cb5ebdbdbebe82366355c5c226b0b1b Mon Sep 17 00:00:00 2001 From: tbergervoet Date: Fri, 5 Oct 2018 14:30:45 +0200 Subject: [PATCH] Update 'Main-Installer.sh' --- Main-Installer.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Main-Installer.sh b/Main-Installer.sh index 8c4dd3b..332fc50 100644 --- a/Main-Installer.sh +++ b/Main-Installer.sh @@ -118,11 +118,9 @@ sed -i 's/;preserve_hostname: false/preserve_hostname: true/g' /etc/cloud/cloud. timedatectl set-timezone Europe/Amsterdam sed -i 's/#/vm.swappiness=10/g' /etc/sysctl.conf sed -i 's/#/vm.vfs_cache_pressure=50/g' /etc/sysctl.conf -cat < /etc/cron.weekly/update.sh -#!/bin/sh -apt update -apt upgrade -y -apt autoclean +cat < /etc/crontab +# m h dom mon dow user command +0 3 * * 1 root apt update && apt upgrade -y EOF ufw allow OpenSSH ufw allow 443/tcp