From c15aa078b7b2fecad3dcff35251c95dbe4418fce Mon Sep 17 00:00:00 2001 From: ChiefGyk Date: Wed, 29 Jun 2016 19:09:17 -0400 Subject: [PATCH] added #!/bin/bash to install.sh --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 0c0d9d08..6d0def6f 100755 --- a/install.sh +++ b/install.sh @@ -1,3 +1,4 @@ +#!/bin/bash # Add multiple lists of malicious IP Addresses by Daily Crontab # Also makes ipset and iptables persistent upon reboot # Added by Alon "ChiefGyk" Ganon @@ -20,7 +21,7 @@ iptables -I INPUT -m set --match-set blacklist src -j DROP cp conf/blacklist /etc/cron.daily/blacklist chmod a+x /etc/cron.daily/blacklist time /etc/cron.daily/blacklist -source conf/dialog.sh +source conf/dialog.sh iptables-save > /etc/iptables.up.rules sed -i -e "\$apre-up ipset restore < /etc/ipset.up.rules" /etc/network/interfaces sed -i -e "\$apre-up iptables-restore < /etc/iptables.up.rules" /etc/network/interfaces