Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Dengler <martin@martindengler.com>2009-06-19 02:59:14 (GMT)
committer Martin Dengler <martin@martindengler.com>2009-06-20 04:02:07 (GMT)
commitea1165821c4ee034e2d92161a8f6b144d946c5e8 (patch)
treecd91f9bce71129645c9368030d72b0e0f147b381
parent690480768fe9736b38d6f54f8044e416736b145e (diff)
enable serial console (dsd)
-rw-r--r--soas-xo.ks25
1 files changed, 25 insertions, 0 deletions
diff --git a/soas-xo.ks b/soas-xo.ks
index 79d1c12..6f9830f 100644
--- a/soas-xo.ks
+++ b/soas-xo.ks
@@ -428,6 +428,31 @@ EOF
##################
+
+##################
+# BEGIN enable serial console
+
+echo ttyS0 >> /etc/securetty
+
+cat > /etc/event.d/ttyS0 <<EOF
+# ttyS0 - serial console
+start on stopped rc2
+start on stopped rc3
+start on stopped rc4
+start on stopped prefdm
+
+stop on runlevel 0
+stop on runlevel 1
+stop on runlevel 6
+
+respawn
+exec agetty ttyS0 115200
+EOF
+
+# END enable serial console
+##################
+
+
##################
# BEGIN make /var/log/messages a+r so Log activity can see it
chmod a+r /var/log/messages