[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Making init scripts use dash



Le Jeudi 18 Mai 2006 22:31, Olaf van der Spek a écrit :
> On 5/18/06, Margarita Manterola <margamanterola@gmail.com> wrote:
> > During some tests I've performed, I've found that making the init
> > scripts run with dash as default shell instead of bash makes the boot
> > time a 10% faster (6 seconds in a 60 second boot).
> >
> > To make this speed up available to everyone, we have 2 main choices:
> >
> > 1. Make /bin/sh point to /bin/dash
> > 2. Change #!/bin/sh for #!/bin/dash in the scripts
> >
> > There are arguments for and against both of them.  I'm summarizing
> > what I've gathered during Debconf, but I do want to hear other
> > people's opinions.
> >
> > Option (1) implies making dash base and Essential: yes (currently dash
> > is optional), and that would imply that until no Essential package
>
> Can't you only change the symlink if/when dash is installed?
[...]

Why no managing /bin/sh link with update-alternatives ?


-- 
Florent

Attachment: pgpAO_zp8Dygs.pgp
Description: PGP signature


Reply to: