|
|
@@ -17,12 +17,12 @@ copy_scripts () {
|
|
|
adb push start.sh /sdcard/start.sh
|
|
|
adb shell 'su - mv -f /sdcard/start.sh /data/data/com.termux/files/home/start.sh'
|
|
|
adb shell 'su - chmod 555 /data/data/com.termux/files/home/start.sh'
|
|
|
- echo "Final step: install Busybox MANUALLY and execute /sdcard/start.sh in terminal at every time startup"
|
|
|
+ echo "Final step: install Busybox MANUALLY and execute ./start.sh in Termux at every time startup"
|
|
|
}
|
|
|
HAS_DEVICE=`adb devices|wc -l|xargs`
|
|
|
if [ "$HAS_DEVICE" = "3" ]; then
|
|
|
echo "Good, a device has been detected"
|
|
|
- # install_tools
|
|
|
+ install_tools
|
|
|
read -p 'AGENCY_ID: ' AGENCY_ID
|
|
|
copy_scripts $AGENCY_ID
|
|
|
else
|