Browse Source

coova-chilli: remove hotplug call

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 <hacks@slashdirt.org>
lilik-openwrt-22.03
Thibaut VARÈNE 3 years ago
committed by Rosen Penev
parent
commit
a3e125267c
2 changed files with 0 additions and 9 deletions
  1. +0
    -2
      net/coova-chilli/Makefile
  2. +0
    -7
      net/coova-chilli/files/chilli.hotplug

+ 0
- 2
net/coova-chilli/Makefile View 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/


+ 0
- 7
net/coova-chilli/files/chilli.hotplug View File

@ -1,7 +0,0 @@
#!/bin/sh
[ "$ACTION" == "ifup" ] || exit 0
[ "$INTERFACE" = "wan" ] && {
/etc/init.d/chilli restart
}

Loading…
Cancel
Save