<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">I'm new to upstart so I googled how to enable mgetty
on a serial port. This was the example I found:<br>
<br>
<font face="Courier New, Courier, monospace">[salt@localhost
init.d]$ cat /etc/init/ttyR0.conf <br>
start on runlevel [345]<br>
stop on runlevel [S016]<br>
<br>
respawn<br>
instance /dev/ttyR0<br>
exec /opt/salt/sbin/mgetty ttyR0<br>
</font><br>
<br>
That is a port off an 8 port modem board. I added 7 more files.
During testing of my serial console lock up on restart issue I
pulled that PCI board without removing those files. On boot all
I saw was error messages and the network never came up. I had to
boot with init as /bin/sh to delete them.<br>
<br>
1. What should I put as the prerequisite for those? I want them
to start right before rc.local (after net, ssh, etc).<br>
<br>
2. I noticed no intelligent behaviour like init. Init will
detect a rapid respawn and disable the tty for N minutes. This
keeps the console quiet and the syslog from filling. Does
upstart support this logic or maybe I should write a wrapper that
executes mgetty and then it will detect rapid respawn.<br>
<br>
chris<br>
</font>
</body>
</html>