coova-chilli: remove hotplug call
authorThibaut VARÈNE <redacted>
Thu, 27 Jan 2022 10:14:58 +0000 (11:14 +0100)
committerRosen Penev <redacted>
Sun, 30 Jan 2022 05:02:28 +0000 (21:02 -0800)
This hotplug trigger unconditionaly restarts coova-chilli when the "wan"
interface sees action "ifup", without checking whether or not the
service is disabled or the upstream interface is actually called "wan".

This hotplug could be replaced by a suitable service trigger instead.

Signed-off-by: Thibaut VARÈNE <redacted>
net/coova-chilli/Makefile
net/coova-chilli/files/chilli.hotplug [deleted file]

index 47c11ad14c03749ec1f4fef3d788da19b4024115..a4f1db7e0968affbcddfa7ce483a2a44031ad663 100644 (file)
@@ -132,8 +132,6 @@ define Package/coova-chilli/install
        $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/chilli.conf $(1)/etc/
        $(INSTALL_DIR) $(1)/etc/chilli
        $(CP) $(PKG_INSTALL_DIR)/etc/chilli/* $(1)/etc/chilli/
-       $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
-       $(INSTALL_DATA) ./files/chilli.hotplug $(1)/etc/hotplug.d/iface/30-chilli
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/chilli* $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/usr/lib/
diff --git a/net/coova-chilli/files/chilli.hotplug b/net/coova-chilli/files/chilli.hotplug
deleted file mode 100644 (file)
index e12812b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-[ "$ACTION" == "ifup" ] || exit 0
-
-[ "$INTERFACE" = "wan" ] && {
-       /etc/init.d/chilli restart
-}
git clone https://git.99rst.org/PROJECT