diff options
author | Martin Dengler <martin@martindengler.com> | 2009-06-19 02:59:14 (GMT) |
---|---|---|
committer | Martin Dengler <martin@martindengler.com> | 2009-06-20 04:02:07 (GMT) |
commit | ea1165821c4ee034e2d92161a8f6b144d946c5e8 (patch) | |
tree | cd91f9bce71129645c9368030d72b0e0f147b381 | |
parent | 690480768fe9736b38d6f54f8044e416736b145e (diff) |
enable serial console (dsd)
-rw-r--r-- | soas-xo.ks | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -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 |