From 6f7575fe7dd263b215bdc034b9c1adf5378679fa Mon Sep 17 00:00:00 2001 From: Scisco Date: Mon, 28 Jul 2014 11:51:08 -0400 Subject: [PATCH 1/2] Replaces spaces with tab --- Makefile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 620eabd..7c78046 100644 --- a/Makefile +++ b/Makefile @@ -2,20 +2,20 @@ install: all all: - @mkdir /etc/firewall - @mkdir /etc/firewall/custom - @echo "etc folder created" - @install -m 755 firewall /etc/init.d/firewall - @echo "Program added to init directory" - @cp etc/firewall/*.conf /etc/firewall - @update-rc.d firewall defaults - @echo "The program is successfully installed" + @mkdir /etc/firewall + @mkdir /etc/firewall/custom + @echo "etc folder created" + @install -m 755 firewall /etc/init.d/firewall + @echo "Program added to init directory" + @cp etc/firewall/*.conf /etc/firewall + @update-rc.d firewall defaults + @echo "The program is successfully installed" .PHONY: uninstall uninstall: - @rm -rf /etc/firewall - @echo "Removed /etc/firewall" - @rm -rf /etc/init.d/firewall - @echo "Removed /etc/init.d/firewall" - @update-rc.d firewall remove - @echo "The program is successfully uninstalled" + @rm -rf /etc/firewall + @echo "Removed /etc/firewall" + @rm -rf /etc/init.d/firewall + @echo "Removed /etc/init.d/firewall" + @update-rc.d firewall remove + @echo "The program is successfully uninstalled" From df3b6a331fada6a1a6dd7fb251de58d6611f1698 Mon Sep 17 00:00:00 2001 From: Scisco Date: Mon, 28 Jul 2014 11:51:45 -0400 Subject: [PATCH 2/2] Added sudo to make command --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index e4e5fcc..90a1af3 100644 --- a/readme.md +++ b/readme.md @@ -38,11 +38,11 @@ And follow these steps to install: git clone git://github.com/bmaeser/iptables-boilerplate.git cd iptables-boilerplate - make + sudo make To uninstall run: - make uninstall + sudo make uninstall ### On other systems