summaryrefslogtreecommitdiff
path: root/package/adk-test-tools/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-04 20:55:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-04 20:55:22 +0200
commit76563c556bd14319938eae3f9ee376b5c50c21cd (patch)
tree5d083651328bc58010458e145e06d85695ca191b /package/adk-test-tools/files
parent9143fe2f0546617996d0c7bb9b92d9cf35075637 (diff)
sync time before test
Diffstat (limited to 'package/adk-test-tools/files')
-rwxr-xr-xpackage/adk-test-tools/files/test.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/adk-test-tools/files/test.init b/package/adk-test-tools/files/test.init
index e33bece47..773986dca 100755
--- a/package/adk-test-tools/files/test.init
+++ b/package/adk-test-tools/files/test.init
@@ -2,6 +2,8 @@
#PKG adk-test-tools
#INIT 90
[[ $1 = autostart ]] || exit 0
+echo "Setting time via network ..."
+rdate -nv pool.ntp.org
echo "Starting test script ..."
grep shell /proc/cmdline > /dev/null 2&>1
if [ $? -eq 0 ];then