diff options
| author | cassio <cassiopc@gmail.com> | 2013-07-02 05:44:46 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2013-07-02 05:44:46 +0000 |
| commit | a9aa438ea0558eb0044cf1e54a9190ddb41b65e5 (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /boca-1.5.0/tools/etc/network/if-up.d | |
| parent | 94caebadeb66ad7b453d4258a796979cafb758b0 (diff) | |
| download | boca-a9aa438ea0558eb0044cf1e54a9190ddb41b65e5.tar.gz boca-a9aa438ea0558eb0044cf1e54a9190ddb41b65e5.zip | |
restructuring of boca's git
Diffstat (limited to 'boca-1.5.0/tools/etc/network/if-up.d')
| -rw-r--r-- | boca-1.5.0/tools/etc/network/if-up.d/boca | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/boca-1.5.0/tools/etc/network/if-up.d/boca b/boca-1.5.0/tools/etc/network/if-up.d/boca deleted file mode 100644 index 0f31ee0..0000000 --- a/boca-1.5.0/tools/etc/network/if-up.d/boca +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -if [ ! -f /etc/icpc/.isserver ]; then -if [ -x /etc/icpc/bocaserver.sh ]; then - . /etc/icpc/bocaserver.sh -fi -/sbin/iptables -F INPUT -/sbin/iptables -A INPUT -i lo -j ACCEPT -/sbin/iptables -A INPUT -s 143.107.255.15 -j ACCEPT -if [ "$BOCASERVER" != "" ]; then - /sbin/iptables -A INPUT -s $BOCASERVER -j ACCEPT -fi -/sbin/iptables -A INPUT -j REJECT -else - if [ -x /etc/icpc/bocaserver.iptables ]; then - . /etc/icpc/bocaserver.iptables - fi -fi |