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

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



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
	done
	unset i
	unset pathmunge
fi
# vim:ts=4:sw=4



-- 
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


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