summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/iptables/files/firewall.awk2
-rw-r--r--openwrt/package/iptables/files/firewall.config2
-rwxr-xr-xopenwrt/package/iptables/files/firewall.init1
-rwxr-xr-xopenwrt/package/iptables/files/firewall.user2
4 files changed, 7 insertions, 0 deletions
diff --git a/openwrt/package/iptables/files/firewall.awk b/openwrt/package/iptables/files/firewall.awk
index 1a201a0..5378330 100644
--- a/openwrt/package/iptables/files/firewall.awk
+++ b/openwrt/package/iptables/files/firewall.awk
@@ -1,3 +1,5 @@
+# Copyright (C) 2006 OpenWrt.org
+
BEGIN {
print ". /etc/config/network"
print "proto=\"$wan_proto\""
diff --git a/openwrt/package/iptables/files/firewall.config b/openwrt/package/iptables/files/firewall.config
index 7edd4ba..1b92954 100644
--- a/openwrt/package/iptables/files/firewall.config
+++ b/openwrt/package/iptables/files/firewall.config
@@ -1,3 +1,5 @@
+# Copyright (C) 2006 OpenWrt.org
+
# RULE SYNTAX:
#
# forward:<match>:<target>[:<port>]
diff --git a/openwrt/package/iptables/files/firewall.init b/openwrt/package/iptables/files/firewall.init
index 3804d04..e174d84 100755
--- a/openwrt/package/iptables/files/firewall.init
+++ b/openwrt/package/iptables/files/firewall.init
@@ -1,4 +1,5 @@
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
## Please make changes in /etc/firewall.user
diff --git a/openwrt/package/iptables/files/firewall.user b/openwrt/package/iptables/files/firewall.user
index f13f50b..1fb862e 100755
--- a/openwrt/package/iptables/files/firewall.user
+++ b/openwrt/package/iptables/files/firewall.user
@@ -1,4 +1,6 @@
#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+
. /etc/config/network
WAN="$wan_ifname"