summaryrefslogtreecommitdiff
path: root/package/firewall/files/lib/uci_firewall.sh
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-01 18:22:01 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-01 18:22:01 +0000
commitc284cb51c00625f52090f3fe3d475450eaab7b21 (patch)
tree02c49883956e50f28055df479accfa35c3c6fcdd /package/firewall/files/lib/uci_firewall.sh
parent085b2b9ad6216508ff357dcb49757173d269fbb9 (diff)
downloadmtk-20170518-c284cb51c00625f52090f3fe3d475450eaab7b21.zip
mtk-20170518-c284cb51c00625f52090f3fe3d475450eaab7b21.tar.gz
mtk-20170518-c284cb51c00625f52090f3fe3d475450eaab7b21.tar.bz2
firewall: - replace uci firewall with a modular dual stack implementation developed by Malte S. Stretz - bump version to 2
SVN-Revision: 21286
Diffstat (limited to 'package/firewall/files/lib/uci_firewall.sh')
-rw-r--r--package/firewall/files/lib/uci_firewall.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/firewall/files/lib/uci_firewall.sh b/package/firewall/files/lib/uci_firewall.sh
new file mode 100644
index 0000000..7c95a7a
--- /dev/null
+++ b/package/firewall/files/lib/uci_firewall.sh
@@ -0,0 +1,5 @@
+# This file is here for backwards compatibility and to override the
+# uci_firewall.sh from an earlier version.
+type fw_is_loaded >/dev/null || {
+ . /lib/firewall/core.sh
+}