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

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



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 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" ;)


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