aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/firewall/files/firewall.hotplug
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-06-04 12:21:44 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-06-04 12:21:44 +0000
commit0dd6753c09a91d9046f9508f6f02c58212df8e5e (patch)
tree8ba0cdeddba484fa7f6a1c5be8e7940b2759d402 /package/network/config/firewall/files/firewall.hotplug
parenta0e412a616d50b28b1f0eb305ef297af46b3fdf1 (diff)
downloadupstream-0dd6753c09a91d9046f9508f6f02c58212df8e5e.tar.gz
upstream-0dd6753c09a91d9046f9508f6f02c58212df8e5e.tar.bz2
upstream-0dd6753c09a91d9046f9508f6f02c58212df8e5e.zip
Drop legacy firewall package
SVN-Revision: 36837
Diffstat (limited to 'package/network/config/firewall/files/firewall.hotplug')
-rw-r--r--package/network/config/firewall/files/firewall.hotplug22
1 files changed, 0 insertions, 22 deletions
diff --git a/package/network/config/firewall/files/firewall.hotplug b/package/network/config/firewall/files/firewall.hotplug
deleted file mode 100644
index 52e7798485..0000000000
--- a/package/network/config/firewall/files/firewall.hotplug
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-# This script is executed as part of the hotplug event with
-# HOTPLUG_TYPE=iface, triggered by various scripts when an interface
-# is configured (ACTION=ifup) or deconfigured (ACTION=ifdown). The
-# interface is available as INTERFACE, the real device as DEVICE.
-
-[ "$DEVICE" == "lo" ] && exit 0
-
-. /lib/functions.sh
-. /lib/firewall/core.sh
-
-fw_init
-fw_is_loaded || exit 0
-
-case "$ACTION" in
- ifup)
- fw_configure_interface "$INTERFACE" add "$DEVICE" &
- ;;
- ifdown)
- fw_configure_interface "$INTERFACE" del "$DEVICE"
- ;;
-esac