Commit | Line | Data |
---|---|---|
1 | #!/bin/bash | |
2 | cd /root/bin/ | |
3 | #you have to provide hosts file (prometheus syntax) to these scripts | |
4 | #/root/bin/updatehosts | |
5 | /root/bin/make-pimp | |
6 | /root/bin/make-iptables-restore | |
7 | #our firewall is configured before restoring iptables nat table | |
8 | #/etc/network/setnet | |
9 | echo -n "Running iptables restore ... " | |
10 | /sbin/iptables-restore < /mnt/mtdblock0/iptables-restore.in | |
11 | echo "done." |