Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2000 10:24:23 -0800 (PST)
From:      Ken Bolingbroke <hacker@bolingbroke.com>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Cc:        Chen Xu <xuc@mcbi-34.med.nyu.edu>
Subject:   Re: ???the existence of /etc/rc.conf causes problematic init
Message-ID:  <Pine.BSF.4.21.0003201015550.72747-100000@fremont.bolingbroke.com>
In-Reply-To: <20000320130842.A22740@saturn.med.nyu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 20 Mar 2000, Chen Xu wrote:

> However, after doing:
> #cp /etc/defaults/rc.conf /etc/rc.conf 

Don't do that.

> ".: out of file descripter"  

Your problem is that /etc/defaults/rc.conf is set to run /etc/rc.conf.  By
copying it straight over to /etc/rc.conf, you've created a loop that runs
itself over and over again, until it runs out of file descriptors.

Instead of copying the file over, just take the appropriate line from
/etc/defaults/rc.conf and put them into /etc/rc.conf.  I do it this way:

First, find the lines I need, ie; if I want to enable the mouse:

 grep mouse /etc/defaults/rc.conf

If that all looks right, then I do:

 grep mouse /etc/defaults/rc.conf >> /etc/rc.conf

And then edit /etc/rc.conf to suit taste.

And of course, maintain backups of /etc/rc.conf before making changes.

Ken



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003201015550.72747-100000>