perf: Only enable ADB on request

This commit is contained in:
robshape 2023-05-28 21:06:50 +02:00
parent 5380fdf677
commit e1fbcb61fa

View file

@ -1,6 +1,9 @@
#!/system/bin/sh
# 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