summaryrefslogtreecommitdiff
path: root/package/adk-test-tools/files/test.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/adk-test-tools/files/test.init')
-rwxr-xr-xpackage/adk-test-tools/files/test.init5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/adk-test-tools/files/test.init b/package/adk-test-tools/files/test.init
index bb8fca527..bcff55c04 100755
--- a/package/adk-test-tools/files/test.init
+++ b/package/adk-test-tools/files/test.init
@@ -3,6 +3,11 @@
#INIT 90
[[ $1 = autostart ]] || exit 0
echo "Starting test script ..."
+grep shell /proc/cmdline > /dev/null 2&>1
+if [ $? -eq 0 ];then
+ echo "Use user root and password linux123 to login. And quit to finish."
+ exit 0
+fi
if [ -x /run.sh ];then
/run.sh
quit