Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #9 from scisco/master
Browse files Browse the repository at this point in the history
Fix tab/space issue with the Makefile
  • Loading branch information
bmaeser committed Jul 28, 2014
2 parents f32e91a + df3b6a3 commit 8ab1013
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8ab1013

Please sign in to comment.