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

Behdad Esfahbod behdad at behdad.org
Mon Feb 18 18:07:01 UTC 2008


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




More information about the devel mailing list