[Replicant] [vendor_replicant-scripts] [PATCH v2][ 3/8] modem: setup.sh: protect against pushing unrelated files

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Fri Jun 26 00:05:31 UTC 2020


Without that, any extra files lying around in the
device-files directory could be accidentally pushed to the
device.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 networking/modem/setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/modem/setup.sh b/networking/modem/setup.sh
index 738c3af..5dbb48c 100755
--- a/networking/modem/setup.sh
+++ b/networking/modem/setup.sh
@@ -1,4 +1,4 @@
 root_dir="/system/bin"
 adb root
 sleep 3
-adb push ./device-files/ "$root_dir"
+adb push ./device-files/modem.sh "$root_dir"
-- 
2.27.0



More information about the Replicant mailing list