Re: 3 simple steps to make booting/shutdown faster...

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

 



On Monday 18 February 2008, Robert Locke 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.
>
> Actually, the /etc/profile.d/*.sh files are executed by /etc/profile
> when it is a login shell, and by /etc/bashrc when it is not a login
> shell......

Yes, thanks for setting the record straight.

One more nit for completeness: according to the bash man page ~/.bashrc (which 
sources /etc/bashrc in Fedora) is interactive shell only stuff, so sourcing 
profile.d stuff from /etc/bashrc happens only for interactive, non-login 
shells.  The man page doesn't mention /etc/bashrc at all so I suppose bash 
doesn't read it directly.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux