perf: Only enable ADB on request

This commit is contained in:
robshape 2023-05-28 21:06:50 +02:00
parent 4f4b0f354e
commit 3a62e60902

View file

@ -1,6 +1,9 @@
#!/system/bin/sh
/usbdbg.sh device
# Enable Android Debug Bridge
if [ -f /misc/enableADB ]; then
/usbdbg.sh device
fi
TF1_PATH=/mnt/mmc # ROMS partition
TF2_PATH=/mnt/sdcard
@ -107,4 +110,3 @@ busybox losetup --detach $LOOPDEVICE
sync && reboot -p
exit 0