From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Dash as /bin/sh?
Date: Fri, 1 Sep 2006 16:21:02 +0100 [thread overview]
Message-ID: <20060901162102.719ebf45@hactar.digimed.co.uk> (raw)
In-Reply-To: <200609011633.01238.harmgeerts@home.nl>
[-- Attachment #1: Type: text/plain, Size: 848 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-09-01 15:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-01 8:45 [gentoo-user] Dash as /bin/sh? Alexander Skwar
2006-09-01 9:17 ` asl.pavel
2006-09-01 10:13 ` Erik
2006-09-01 11:09 ` [gentoo-user] " Alexander Skwar
2006-09-01 11:03 ` [gentoo-user] " Neil Bothwick
2006-09-01 14:05 ` Neil Bothwick
2006-09-01 14:33 ` [gentoo-user] " Harm Geerts
2006-09-01 15:21 ` Neil Bothwick [this message]
2006-09-02 2:06 ` Harm Geerts
2006-09-02 2:57 ` Jerry McBride
2006-09-02 5:58 ` Richard Fish
2006-09-02 18:10 ` Neil Bothwick
2006-09-02 18:38 ` Jerry McBride
2006-09-03 11:49 ` [gentoo-user] " Alexander Skwar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060901162102.719ebf45@hactar.digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox