modemmanager: install available FCC unlock scripts
authorAleksander Morgado <aleksander@aleksander.es>
Tue, 29 Mar 2022 11:12:43 +0000 (13:12 +0200)
committerRosen Penev <rosenp@gmail.com>
Sun, 15 May 2022 04:39:50 +0000 (21:39 -0700)
The FCC unlock scripts are installed but not enabled by default.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
net/modemmanager/Makefile

index b89fdec5e545eceb0b47ec9a6f04b15978c38a50..94164fd5c4e5e63ac8771115ba76a4d84bf738e2 100644 (file)
@@ -110,6 +110,9 @@ define Package/modemmanager/install
        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/ModemManager/*.conf $(1)/usr/share/ModemManager
        $(INSTALL_DATA) ./files/modemmanager.common $(1)/usr/share/ModemManager
 
+       $(INSTALL_DIR) $(1)/usr/share/ModemManager/fcc-unlock.available.d
+       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/ModemManager/fcc-unlock.available.d/* $(1)/usr/share/ModemManager/fcc-unlock.available.d
+
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/modemmanager.init $(1)/etc/init.d/modemmanager