[Replicant] [PATCH][device/samsung/espresso3g] Add scripts to disable the modem

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Fri Nov 22 21:33:12 UTC 2019


The scripts are specific to libsamsung-ipc, so they are added
in the device directories.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 device.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/device.mk b/device.mk
index 8f8139f..c2ff12d 100644
--- a/device.mk
+++ b/device.mk
@@ -28,10 +28,12 @@ PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/audio/tiny_hw_espresso.xml:system/etc/sound/espresso \
     $(LOCAL_PATH)/audio/tiny_hw_espresso10.xml:system/etc/sound/espresso10
 
-# RIL
+# RIL and scripts to disable the modem
 PRODUCT_PACKAGES += \
     libsamsung-ril \
-    libaudio-ril-interface
+    libaudio-ril-intierface \
+    enable_modem.sh \
+    disable_modem.sh
 
 PRODUCT_PROPERTY_OVERRIDES += \
     mobiledata.interfaces=pdp0,wlan0,gprs,ppp0
-- 
2.24.0



More information about the Replicant mailing list