diff --git a/post/run.sh b/post/run.sh index 26cae38..096813a 100644 --- a/post/run.sh +++ b/post/run.sh @@ -24,7 +24,7 @@ grub-mkconfig -o /boot/grub/grub.cfg echo -e "${GREEN}Disable root user SSH access...${NOCOL}" sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config sed -i 's/PermitRootLogin without-password/PermitRootLogin no/' /etc/ssh/sshd_config -sed -i 's/#UseDNS no/UseDNS no/' /etc/ssh/sshd_config +#sed -i 's/#UseDNS no/UseDNS no/' /etc/ssh/sshd_config echo -e "${GREEN}Configuring default firewall...${NOCOL}" curl -so /etc/iptables/iptables.rules $REPO/raw/branch/master/post/iptables.rules @@ -34,9 +34,9 @@ echo -e "${GREEN}Install minimal required packages...${NOCOL}" pacman --noconfirm -S cronie rsync iftop htop bash-completion iotop lsof screen fastfetch neovim man-db inetutils base-devel git ln -s /usr/bin/nvim /usr/bin/vi -echo -e "${GREEN}Setup time service...${NOCOL}" -sed -i 's/#NTP=/NTP=ntp1.xoservice.nl/' /etc/systemd/timesyncd.conf -sed -i 's/#FallbackNTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org/FallbackNTP=ntp2.xoservice.nl/' /etc/systemd/timesyncd.conf +#echo -e "${GREEN}Setup time service...${NOCOL}" +#sed -i 's/#NTP=/NTP=ntp1.xoservice.nl/' /etc/systemd/timesyncd.conf +#sed -i 's/#FallbackNTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org/FallbackNTP=ntp2.xoservice.nl/' /etc/systemd/timesyncd.conf echo -e "${GREEN}Activating required services...${NOCOL}" systemctl enable iptables