From 992f2a052afb2709a0f862d7c1f12b37e79d1614 Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Sat, 30 Jun 2018 13:19:47 +0000 Subject: [PATCH] continue tweaking installer --- iso/installer/install.sh | 44 ++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 27 deletions(-) diff --git a/iso/installer/install.sh b/iso/installer/install.sh index c70966e9..15d8679b 100755 --- a/iso/installer/install.sh +++ b/iso/installer/install.sh @@ -618,19 +618,14 @@ wait fuPULLIMAGES 2>&1 | dialog --title "[ Pulling docker images, please be patient ]" $myPROGRESSBOXCONF # Let's add the daily update check with a weekly clean interval -dialog --title "[ Modifying update checks ]" $myPROGRESSBOXCONF <&1>/dev/null <&1 | tee /etc/apt/apt.conf.d/10periodic | dialog --title "[ Modifying update checks ]" $myPROGRESSBOXCONF # Let's make sure to reboot the system after a kernel panic -dialog --title "[ Reboot after kernel panic ]" $myPROGRESSBOXCONF <&1>/dev/null <&1 | tee -a /etc/sysctl.conf | dialog --title "[ Tweak Sysctl ]" $myPROGRESSBOXCONF # Let's setup fail2ban config -dialog --title "[ Setup fail2ban config ]" $myPROGRESSBOXCONF <&1>/dev/null <&1 | tee /etc/fail2ban/jail.d/tpot.conf | dialog --title "[ Setup fail2ban config ]" $myPROGRESSBOXCONF # Fix systemd error https://github.com/systemd/systemd/issues/3374 -dialog --title "[ systemd fix ]" $myPROGRESSBOXCONF <&1>/dev/null <&1 | tee /etc/systemd/network/99-default.link | dialog --title "[ systemd fix ]" $myPROGRESSBOXCONF # Let's add some cronjobs -dialog --title "[ Adding cronjobs ]" $myPROGRESSBOXCONF <&1>/dev/null <&1 | tee -a /etc/crontab | dialog --title "[ Adding cronjobs ]" $myPROGRESSBOXCONF # Let's create some files and folders mkdir -p /data/ciscoasa/log \