diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-24 13:43:37 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-24 13:43:37 +0100 |
commit | f71d123ae12dad7f1b3df2be6e8a9353f12901da (patch) | |
tree | 9465ea8919853fd47658e4f45749ce6caf327121 /package/adk-test-tools/files/test.init | |
parent | 76ffcba54b786e9c9e17c10998e3ca14b800326e (diff) | |
parent | 8c2b233efc34f05295367069d2b134560a4f1add (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 |