Update 'Main-Installer.sh'
This commit is contained in:
@@ -141,7 +141,7 @@ timedatectl set-timezone Europe/Amsterdam
|
|||||||
sed -i 's/#/vm.swappiness=10/g' /etc/sysctl.conf
|
sed -i 's/#/vm.swappiness=10/g' /etc/sysctl.conf
|
||||||
sed -i 's/#/vm.vfs_cache_pressure=50/g' /etc/sysctl.conf
|
sed -i 's/#/vm.vfs_cache_pressure=50/g' /etc/sysctl.conf
|
||||||
|
|
||||||
sed -i "\$a0 3 * * 1 root apt update && apt upgrade -y >/dev/null 2>&1" /etc/crontab
|
sed -i "\$a0 3 * * 1 root apt update >/dev/null 2>&1&& apt upgrade -y >/dev/null 2>&1" /etc/crontab
|
||||||
systemctl restart cron
|
systemctl restart cron
|
||||||
ufw allow OpenSSH
|
ufw allow OpenSSH
|
||||||
ufw allow 443/tcp
|
ufw allow 443/tcp
|
||||||
|
|||||||
Reference in New Issue
Block a user