From bc754f31cfdb004eefa43038f8f0827922107fc6 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 4 May 2022 14:01:57 +0200 Subject: modemmanager: report network initiated disconnections to netifd The new connection dispatcher scripts support integrated in ModemManager 1.18.8 allows us to provide a openwrt-specific dispatcher script used to report netifd that the underlying network connection is down. See also https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/775 Fixes https://github.com/openwrt/openwrt/issues/8368 Fixes https://github.com/openwrt/packages/issues/14096 Signed-off-by: Aleksander Morgado --- net/modemmanager/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/modemmanager/Makefile') diff --git a/net/modemmanager/Makefile b/net/modemmanager/Makefile index 94164fd5c..c6d95af5f 100644 --- a/net/modemmanager/Makefile +++ b/net/modemmanager/Makefile @@ -100,6 +100,9 @@ define Package/modemmanager/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/ModemManager/libmm-shared-*.so* $(1)/usr/lib/ModemManager $(CP) $(PKG_INSTALL_DIR)/usr/lib/ModemManager/libmm-plugin-*.so* $(1)/usr/lib/ModemManager + $(INSTALL_DIR) $(1)/usr/lib/ModemManager/connection.d + $(INSTALL_BIN) ./files/10-report-down $(1)/usr/lib/ModemManager/connection.d + $(INSTALL_DIR) $(1)/etc/dbus-1/system.d $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/dbus-1/system.d/org.freedesktop.ModemManager1.conf $(1)/etc/dbus-1/system.d -- cgit v1.2.3