diff --git a/scripts/pysalx-date-set b/scripts/pysalx-date-set new file mode 100755 index 0000000..f959850 --- /dev/null +++ b/scripts/pysalx-date-set @@ -0,0 +1,16 @@ +#!/bin/bash +# Set date based on current system time. +# Perhaps you should make sure your local clock is correct. :) + +# sudo ntpdate time.mit.edu + +echo "Current time on analyzer" +adb shell busybox date +echo +NOW=`date -u "+%Y-%m-%d %H:%M:%S"` +echo "Setting time to " +adb shell busybox date -s \"$NOW\" +echo +echo "Current time on analyzer" +adb shell busybox date +