summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2013-05-01 16:32:15 -0500
committerMike Fiore <mfiore@multitech.com>2013-05-01 16:32:15 -0500
commit3b216da8b79fc269a30789d50f7df2bf19055208 (patch)
tree5eed92269737a791a2bbdccdac18658452929dad
parentab454c6117ff3692c380a2da737d179e461d2e49 (diff)
sysvinit: separate inittab for mtocgd, no usb serial terminal
-rw-r--r--multitech/recipes/sysvinit/sysvinit/corecdp/inittab3
-rw-r--r--multitech/recipes/sysvinit/sysvinit/mtocgd/inittab30
-rw-r--r--multitech/recipes/sysvinit/sysvinit_2.86.bbappend2
3 files changed, 34 insertions, 1 deletions
diff --git a/multitech/recipes/sysvinit/sysvinit/corecdp/inittab b/multitech/recipes/sysvinit/sysvinit/corecdp/inittab
index 6abbdf4..7b0dae8 100644
--- a/multitech/recipes/sysvinit/sysvinit/corecdp/inittab
+++ b/multitech/recipes/sysvinit/sysvinit/corecdp/inittab
@@ -28,3 +28,6 @@ l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin
+
+# USB serial terminal
+GS0:2345:respawn:/sbin/getty 115200 ttyGS0
diff --git a/multitech/recipes/sysvinit/sysvinit/mtocgd/inittab b/multitech/recipes/sysvinit/sysvinit/mtocgd/inittab
new file mode 100644
index 0000000..6abbdf4
--- /dev/null
+++ b/multitech/recipes/sysvinit/sysvinit/mtocgd/inittab
@@ -0,0 +1,30 @@
+# /etc/inittab: init(8) configuration.
+# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $
+
+# The default runlevel.
+id:5:initdefault:
+
+# Boot-time system configuration/initialization script.
+# This is run first except when booting in emergency (-b) mode.
+si::sysinit:/etc/init.d/rcS
+
+# What to do in single-user mode.
+~~:S:wait:/sbin/sulogin
+
+# /etc/init.d executes the S and K scripts upon change
+# of runlevel.
+#
+# Runlevel 0 is halt.
+# Runlevel 1 is single-user.
+# Runlevels 2-5 are multi-user.
+# Runlevel 6 is reboot.
+
+l0:0:wait:/etc/init.d/rc 0
+l1:1:wait:/etc/init.d/rc 1
+l2:2:wait:/etc/init.d/rc 2
+l3:3:wait:/etc/init.d/rc 3
+l4:4:wait:/etc/init.d/rc 4
+l5:5:wait:/etc/init.d/rc 5
+l6:6:wait:/etc/init.d/rc 6
+# Normally not reached, but fallthrough in case of emergency.
+z6:6:respawn:/sbin/sulogin
diff --git a/multitech/recipes/sysvinit/sysvinit_2.86.bbappend b/multitech/recipes/sysvinit/sysvinit_2.86.bbappend
index 096349c..60b60d4 100644
--- a/multitech/recipes/sysvinit/sysvinit_2.86.bbappend
+++ b/multitech/recipes/sysvinit/sysvinit_2.86.bbappend
@@ -1,6 +1,6 @@
FILESEXTRA := "${THISDIR}"
FILESPATHBASE =. "${FILESEXTRA}:"
-PR .= ".corecdp1"
+PR .= ".corecdp2"
SRC_URI += "file://sysvinit-2.86-define_enoioctlcmd.patch"