[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a segue from Lilo to Linux boot
> >And don't be shy about asking questions.
Me and my big mouth! (just kidding! ;)
DISCLAIMER:
Since you didn't specify, I'm assuming you're running Redhat
for all the startup questions. If not, please ignore!
> well, uh, i have a couple questions. what's the right place to
> put a "stty -F /dev/ttyS0 19200" to make sure it happens before
> the lpd daemon is started? In /etc/rc.d/rc3.d/S60lpd? Or
> someplace that gets called before it?
Does it have to be run before lpd?
If not, add it to the end of /etc/rc.d/rc.local .
The /etc/rc.d/rc?.d/* files are symbolic links,
not actual files (at least on Redhat!) so you can't
put anything there. The actual scripts are in
/etc/rc.d/init.d/* (at least on Redhat!)
You could modify /etc/rc.d/init.d/lpd and add the stty
command, but it may get lost on the next update.
Otherwise, you could add this to the end of rc.local:
/etc/rc.d/init.d/lpd stop
stty -F /dev/ttyS0 19200
/etc/rc.d/init.d/lpd start
> And what's the right place to launch smbd and nmbd?
On Redhat, it's should start for you automatically.