Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 09:24:43 -0400
From:      Gabriel O'Brien <obrieng@nm.cbc.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: include format for /etc/rc.conf
Message-ID:  <44F5919B.4050701@nm.cbc.ca>
In-Reply-To: <20060830033859.R53222@prime.gushi.org>
References:  <20060830033859.R53222@prime.gushi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
You might want to look at /etc/rc.conf.local, though I would consider 
just writing a script to handle what you want to do since rc.conf.local 
isn't really the FreeBSD way, seems to be more of an OpenBSD approach.

See: 'man rc'

cheers,
Gabriel

-- 
Gabriel O'Brien
IT Analyst, MPS-EN-CBC.ca
w: 416-205-8740 m: 416-996-5679

Dan Mahoney, System Admin wrote:
> Hey all,
> 
> Are there any supported formats for INCLUDES in /etc/rc.conf such that I 
> can drop default configs into /etc/rc.conf and then have files in a 
> certain directory (ala includerc) override them?  Basically, I'd like to 
> do mass-updates of several dozen machines' configs normally found in 
> /etc/rc.conf, but then have per-machine configs (like hostnames) elsewhere.
> 
> -Dan Mahoney
> 
> -- 
> 
> "Don't be so depressed dear."
> 
> "I have no endorphins, what am I supposed to do?"
> 
> -DM and SK, February 10th, 1999
> 
> --------Dan Mahoney--------
> Techie,  Sysadmin,  WebGeek
> Gushi on efnet/undernet IRC
> ICQ: 13735144   AIM: LarpGM
> Site:  http://www.gushi.org
> ---------------------------
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44F5919B.4050701>