This repository was archived by the owner on Apr 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed
Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 22install : all
33
44all :
5- @mkdir /etc/firewall
6- @mkdir /etc/firewall/custom
7- @echo "etc folder created"
8- @install -m 755 firewall /etc/init.d/firewall
9- @echo "Program added to init directory"
10- @cp etc/firewall/*.conf /etc/firewall
11- @update-rc.d firewall defaults
12- @echo "The program is successfully installed"
5+ @mkdir /etc/firewall
6+ @mkdir /etc/firewall/custom
7+ @echo " etc folder created"
8+ @install -m 755 firewall /etc/init.d/firewall
9+ @echo " Program added to init directory"
10+ @cp etc/firewall/* .conf /etc/firewall
11+ @update-rc.d firewall defaults
12+ @echo " The program is successfully installed"
1313
1414.PHONY : uninstall
1515uninstall :
16- @rm -rf /etc/firewall
17- @echo "Removed /etc/firewall"
18- @rm -rf /etc/init.d/firewall
19- @echo "Removed /etc/init.d/firewall"
20- @update-rc.d firewall remove
21- @echo "The program is successfully uninstalled"
16+ @rm -rf /etc/firewall
17+ @echo " Removed /etc/firewall"
18+ @rm -rf /etc/init.d/firewall
19+ @echo " Removed /etc/init.d/firewall"
20+ @update-rc.d firewall remove
21+ @echo " The program is successfully uninstalled"
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ And follow these steps to install:
3838
3939 git clone git://github.com/bmaeser/iptables-boilerplate.git
4040 cd iptables-boilerplate
41- make
41+ sudo make
4242
4343To uninstall run:
4444
45- make uninstall
45+ sudo make uninstall
4646
4747### On other systems
4848
You can’t perform that action at this time.
0 commit comments