json bug fix
[svn/Prometheus-QoS/.git] / optional-tools / make-firewall
index ca1fc6a6bd04d7bc3db9af1467193f4034399594..eeba477fabe7be8edcb0871bf79c6f31ae829da0 100755 (executable)
@@ -1,9 +1,11 @@
 #!/bin/bash
 cd /root/bin/
-/root/bin/updatehosts
+#you have to provide hosts file (prometheus syntax) to these scripts
+#/root/bin/updatehosts
 /root/bin/make-pimp
 /root/bin/make-iptables-restore
-/etc/network/setnet
-#echo -n "Running iptables restore ... "
-#/sbin/iptables-restore < /mnt/mtdblock0/iptables-restore.in
-#echo "done."
+#our firewall is configured before restoring iptables nat table
+#/etc/network/setnet
+echo -n "Running iptables restore ... "
+/sbin/iptables-restore < /mnt/mtdblock0/iptables-restore.in
+echo "done."
This page took 0.112691 seconds and 4 git commands to generate.