skia2/platform_tools/ios/bin/ios_restart
2015-05-19 06:27:09 -07:00

18 lines
479 B
Bash
Executable File

#!/bin/bash
###############################################################################
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
###############################################################################
#
# Restarts the the attached iOS device.
#
set -x -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $SCRIPT_DIR/ios_setup.sh
ios_restart
sleep 20