summaryrefslogtreecommitdiff
path: root/firewall/files/firewall.hotplug
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-05-18 22:56:05 +0200
committerKarel Kočí <cynerd@email.cz>2021-05-18 22:56:05 +0200
commit82b6fdad3e720a59a8314e74a9b9f87775ec2514 (patch)
treed1effa25b8af6afaa5cb020609fd43b9032d7252 /firewall/files/firewall.hotplug
parenta15265f77d1cfb1d53de6919a65e5fd73cbeafe2 (diff)
downloadopenwrt-personal-pkgs-82b6fdad3e720a59a8314e74a9b9f87775ec2514.tar.gz
openwrt-personal-pkgs-82b6fdad3e720a59a8314e74a9b9f87775ec2514.tar.bz2
openwrt-personal-pkgs-82b6fdad3e720a59a8314e74a9b9f87775ec2514.zip
firewall: remove for now
Diffstat (limited to 'firewall/files/firewall.hotplug')
-rw-r--r--firewall/files/firewall.hotplug11
1 files changed, 0 insertions, 11 deletions
diff --git a/firewall/files/firewall.hotplug b/firewall/files/firewall.hotplug
deleted file mode 100644
index f1eab00..0000000
--- a/firewall/files/firewall.hotplug
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-[ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0
-[ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" -a -z "$IFUPDATE_DATA" ] && exit 0
-
-/etc/init.d/firewall enabled || exit 0
-
-fw3 -q network "$INTERFACE" >/dev/null || exit 0
-
-logger -t firewall "Reloading firewall due to $ACTION of $INTERFACE ($DEVICE)"
-fw3 -q reload