On Fri, 1 Sep 2006 16:33:01 +0200, Harm Geerts wrote:

> You can force sux to use bash.
> Just replace the first line in /usr/bin/sux with "#!/bin/bash" 

That was the first thing I tried, it made no difference. A quick look at
sux shows it building a command to pas to exec that used $SHELL,. This is
probably where it's switching back to /bin/sh, but I'm not prepared to
spend much time looking for it to save 14 seconds.

> Speaking of which, you probably should see the shell used in the
> scripts from the sys-apps/baselayout package. All shell scripts
> use /bin/bash and not /bin/sh.
> 
> So linking (d)ash as the default shell doesn't nearly have the impact
> you'd like it to have.

A 20% reduction in boot time is a reasonable impact IMO.


-- 
Neil Bothwick

... "I dropped my toothpaste," Tom said, Crestfallen.

Attachment: signature.asc
Description: PGP signature

Reply via email to