From 1ccad4b98b412197ef72a2bb978cf26327b54fd6 Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 4 Dec 2019 13:35:28 -0600 Subject: Create mlinux-basetest-image which has no login for console --- recipes-core/sysvinit/files/start_getty_open | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 recipes-core/sysvinit/files/start_getty_open (limited to 'recipes-core/sysvinit/files/start_getty_open') diff --git a/recipes-core/sysvinit/files/start_getty_open b/recipes-core/sysvinit/files/start_getty_open new file mode 100644 index 0000000..3afce00 --- /dev/null +++ b/recipes-core/sysvinit/files/start_getty_open @@ -0,0 +1,6 @@ +#!/bin/sh +# Open console for testing +if [ -c /dev/$2 ] +then + /sbin/getty -L $1 $2 xterm -n -l /bin/bash +fi -- cgit v1.2.3