summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-18 09:16:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-18 09:16:17 +0100
commita2ba45bfccc6f7523e4a9c2ed88a7ec79302a7d0 (patch)
tree51ce61000661fb9bd6ed21611056d4d3f0db97e4 /package
parent9736226cccdeb8d62e30b51664f763b723acacfd (diff)
start getty/login when shell requested
Diffstat (limited to 'package')
-rw-r--r--package/adk-test-tools/Makefile2
-rwxr-xr-xpackage/adk-test-tools/files/test.init5
2 files changed, 6 insertions, 1 deletions
diff --git a/package/adk-test-tools/Makefile b/package/adk-test-tools/Makefile
index 0a60c5056..c92f0b378 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:= 3
+PKG_RELEASE:= 4
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 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