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

Re: Making init scripts use dash



"Margarita Manterola" <margamanterola@gmail.com> writes:

> 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

That would mean having 2 shells since some scripts need bash. What a
waste on small systems.


> 2. Change #!/bin/sh for #!/bin/dash in the scripts

3. Make sh an alternative

MfG
        Goswin



Reply to: