diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-01-27 08:07:38 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-01-27 08:07:38 +0530 |
commit | 9628c45613275c62e9314d708ff701396c604944 (patch) | |
tree | dd380c6c10b65243b9330a15e2f51c0ac25cafbf | |
parent | 665ece94334a77d7d1a58155bbcad955e3f7164d (diff) |
prepare-device.sh: adb connect and then adb root
Change-Id: I2f36464455032d599f87f6aeb4e4f9d001cf732f
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-x | prepare-device.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/prepare-device.sh b/prepare-device.sh index ebeb257..e32bd0e 100755 --- a/prepare-device.sh +++ b/prepare-device.sh @@ -29,8 +29,8 @@ then # disable IKS IPADDR=`cat IPADDR` echo "Disable IKS for $IPADDR" - adb root adb connect $IPADDR:5555 + adb root adb devices echo "Waiting for device" adb wait-for-device @@ -44,8 +44,8 @@ then # enable IKS IPADDR=`cat IPADDR` echo "Enable IKS for $IPADDR" - adb root adb connect $IPADDR:5555 + adb root adb devices echo "Waiting for device" adb wait-for-device @@ -59,8 +59,8 @@ then # disable IKS IPADDR=`cat IPADDR` echo "Disable IKS for $IPADDR" - adb root adb connect $IPADDR:5555 + adb root adb devices echo "Waiting for device" adb wait-for-device @@ -77,8 +77,8 @@ then # disable IKS IPADDR=`cat IPADDR` echo "Disable IKS for $IPADDR" - adb root adb connect $IPADDR:5555 + adb root adb devices echo "Waiting for device" adb wait-for-device |