diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-24 16:08:45 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-24 16:08:45 +0100 |
commit | 576d781cf21104289e890193b263a7808b8694ac (patch) | |
tree | f8dd78959a68bcf278449a08ad16493988015a7c /package/adk-test-tools/files/test.init | |
parent | 7a3d35176e952c9e3f40b70b78186cd1cb68d39f (diff) | |
parent | 850ed0a79fd5c91ac6d037b151cd6ce314a3871f (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/adk-test-tools/files/test.init')
-rwxr-xr-x | package/adk-test-tools/files/test.init | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/adk-test-tools/files/test.init b/package/adk-test-tools/files/test.init index bb8fca527..e33bece47 100755 --- a/package/adk-test-tools/files/test.init +++ b/package/adk-test-tools/files/test.init @@ -3,6 +3,10 @@ #INIT 90 [[ $1 = autostart ]] || exit 0 echo "Starting test script ..." +grep shell /proc/cmdline > /dev/null 2&>1 +if [ $? -eq 0 ];then + exit 0 +fi if [ -x /run.sh ];then /run.sh quit |