3 simple steps to make booting/shutdown faster...
Behdad Esfahbod
behdad at behdad.org
Mon Feb 18 20:29:02 UTC 2008
On Mon, 2008-02-18 at 21:35 +0200, Ville Skyttä wrote:
> On Monday 18 February 2008, Behdad Esfahbod wrote:
> > On Mon, 2008-02-18 at 19:35 +0200, Ville Skyttä wrote:
> > > On Sunday 17 February 2008, Behdad Esfahbod wrote:
> > > > I have a hard time imagining why you hit it at all though, as only
> > > > interactive bash should run bashrc which in turn calls
> > > > into /etc/profile.d, or am I missing something?
> > >
> > > /etc/profile.d/*.sh are sourced from /etc/profile, not bashrc.
> >
> > Would have taken you less time than writing this one line email to
> > actually check that:
> >
> > [behdad at behdad ~]$ tail /etc/bashrc
> >
> > for i in /etc/profile.d/*.sh; do
> > if [ -r "$i" ]; then
> > . $i
> > fi
> [...]
>
> Oops. But you made the same mistake, see "tail /etc/profile" ;)
No I didn't. I just implied that your statement of "... are sourced
from /etc/profile, not bashrc" is wrong. What I did not imply was that
"... are sourced from bashrc, not /etc/profile".
Does that help you stop repeating what would be obvious for anyone who
cares to just RTFM?
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
More information about the fedora-devel-list
mailing list