rc.conf: gnome_enable="YES" - which instructions executed?

Dan Nelson dnelson at allantgroup.com
Thu Jul 1 04:25:27 UTC 2010


In the last episode (Jun 30), Chris Stankevitz said:
> My rc.conf file has this entry: gnome_enable="YES"
> 
> Q: Where on my hard drive can I find the instructions executed to "enable" GNOME?
> 
> A: /usr/local/etc/rc.d/gnome [bad answer: file does not exist]
> 
> Thank you,

Try:

grep "name=.*gnome" /usr/local/etc/rc.d/*

Most rc scripts are named the same as their rc.subr enable_* variables, but
they don't have to be.  If no rc.d scripts have "name=gnome" in them, then
your gnome_enable line doesn't do a thing.  Maybe you had installed a port
at some point in the past that required it, but the port has been
uninstalled since then?

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list