Removed unused commands
This commit is contained in:
@@ -24,7 +24,6 @@ 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
|
||||
|
||||
echo -e "${GREEN}Configuring default firewall...${NOCOL}"
|
||||
curl -so /etc/iptables/iptables.rules $REPO/raw/branch/master/post/iptables.rules
|
||||
@@ -34,10 +33,6 @@ 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}Activating required services...${NOCOL}"
|
||||
systemctl enable iptables
|
||||
systemctl enable ip6tables
|
||||
|
Reference in New Issue
Block a user