diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-04 20:55:22 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-04 20:55:22 +0200 |
commit | 76563c556bd14319938eae3f9ee376b5c50c21cd (patch) | |
tree | 5d083651328bc58010458e145e06d85695ca191b /package/adk-test-tools | |
parent | 9143fe2f0546617996d0c7bb9b92d9cf35075637 (diff) |
sync time before test
Diffstat (limited to 'package/adk-test-tools')
-rw-r--r-- | package/adk-test-tools/Makefile | 2 | ||||
-rwxr-xr-x | package/adk-test-tools/files/test.init | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/package/adk-test-tools/Makefile b/package/adk-test-tools/Makefile index 72327170a..80be5a41b 100644 --- a/package/adk-test-tools/Makefile +++ b/package/adk-test-tools/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= adk-test-tools PKG_VERSION:= 0.1 -PKG_RELEASE:= 5 +PKG_RELEASE:= 6 PKG_DESCR:= helper tools and scripts for adk-test-framework PKG_SECTION:= misc PKG_URL:= http://openadk.org/ 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 |