On Mon, 20 Sep 1999, you wrote:
> As a hack, you can add the command you want to run to the end of the
> rc.local file, located at /etc/rc.d/rc.local.
> 
> This is where I load some modules in since the modules don't want to load
> in the correct order...  (it attempts to load sound.o before uart.o, which
> sound requires, so I just load them again in the right order here...)

The reason for that problem is possably because you have not setup
you /etc/conf.modules propelry.

As to the setserial question, i would add a small if statement to
rc.local, why an if statement, well if setserial does sometihng wrong
it will possably lockup the machine, in an if statement there is a
small chance the problem will recover, albeit small.

if [ -f /etc/rc.d/rc.setserial3 ]; then
    /etc/rcd./rc.setserial3
fi

chmod a+x /etc/rc.d/rc.setserial3 first, otherwise it wont work.
O yes, i would also advise putting anything extra in rc.local before
the if statement about

if [ -f /etc/redhat-release ]; then
    R=$(cat /etc/redhat-release)           

 There are of course many ways.

> Hope that fixes your difficulty...
> 
> David
> 
> 
> "Without the Law, there is no Liberty.  Without Justice, there is no Law."
> 
> 
> On Sun, 19 Sep 1999, Sam Munns wrote:
> 
> > How can I set it up where when I restart my machine it runs the command 
>/etc/setserial /dev/ttyS3 UART 16550A automatically?
> >
--
Regards Richard
[EMAIL PROTECTED]

Reply via email to