On Mit, 2002-09-04 at 01:01, David Stanaway wrote: 
> On Tue, 2002-09-03 at 17:56, Michael Milligan wrote:
> > A simple question, probably:
> > I am setting up an old inkjet serial printer on my G3 running woody.  After 
> > some research and several test pages, I established that CUPS handles the 
> > thing fine, but only if I first manually issue
> > $ stty -F /dev/ttyS1 230400 cstopb raw echo ixoff ixon
> > as root.  Since I don't really want to have to log into the thing every 
> > time it gets rebooted just to enable the printer, I was wondering what is 
> > the Debianishly correct way to execute this command at boot time.  I 
> > *could* write a new boot script and insert the links in /etc/rc* myself, 
> > but this seems somehow tacky.
> 
> Write it, and put it in /etc/init.d

So far, so good.

> then install it with update-rc.d  (It has a nice manpage)

So I used to think, but no - not in general, anyway. update-rc.d is for
use by packages, and anything you do with it can get overridden by a
package without warning, whereas manual manipulations to the
/etc/rc*.d/* links should be preserved.


-- 
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

Reply via email to