update.sh 229 B

1234567
  1. HAS_DEVICE=`adb devices|wc -l|xargs`
  2. if [ "$HAS_DEVICE" = "3" ]; then
  3. echo "Good, a device has been detected"
  4. adb push crontab /sdcard/
  5. else
  6. echo "`adb devices` did not show exactly one device, check and try again"
  7. fi