Add commands from user-config.sh
This commit is contained in:
parent
e53982ff80
commit
8d21801c7c
@ -140,6 +140,21 @@ if [[ $gpu == "nvidia" ]] then
|
||||
fi
|
||||
# Required to enable network changes (not sure if this is neccesary)
|
||||
#sysctl --system
|
||||
# Install some essential utilities and enable any appropriate services
|
||||
pacman -S --noconfirm yay ufw clamav hblock
|
||||
freshclam
|
||||
systemctl enable clamav-freshclam.service
|
||||
systemctl enable clamav-daemon.service
|
||||
ufw limit 22/tcp
|
||||
ufw allow 80/tcp
|
||||
ufw allow 443/tcp
|
||||
ufw default deny incoming
|
||||
ufw default allow outgoing
|
||||
ufw limit ssh
|
||||
ufw enable
|
||||
systemctl enable ufw.service
|
||||
systemctl enable sshd.service
|
||||
hblock
|
||||
# Prompt the user to reboot
|
||||
echo "Install complete, please reboot"
|
||||
EOF
|
Loading…
Reference in New Issue
Block a user