aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files/lib/uci_firewall.sh
diff options
context:
space:
mode:
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 0000000000..7c95a7a939
--- /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
+}