perf: Only enable ADB on request
This commit is contained in:
parent
5380fdf677
commit
e1fbcb61fa
1 changed files with 7 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue