DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 29th July 2008
starbuck's Avatar
starbuck starbuck is offline
Port Guard
 
Join Date: Apr 2008
Location: Eugene, OR
Posts: 31
Thanked 0 Times in 0 Posts
Default rc.conf questions

I have a couple rc.conf questions, probably n00bish, but curious.

Can I use bash variables within rc.conf? Like:

Code:
IP="192.168.0.1"
ListenAddress $IP
Is there anyway to include another text file in rc.conf so that those commands get parsed? I'm thinking specifically jail config parameters. Or do I have to use something like "sed" to modify rc.conf directly?

Basically I want to write a bash script that will set up my jails for me (I may just end up using ezjail, but I want to try myself first).
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
some login.conf questions gosha OpenBSD General 2 5th July 2009 12:43 PM
pf.conf lumiwa FreeBSD Security 11 20th September 2008 01:01 AM
difference between rc.conf and loader.conf disappearedng FreeBSD General 5 3rd September 2008 05:54 AM
wine.conf bsdnewbie999 OpenBSD General 6 15th July 2008 04:08 PM
libmap.conf ccc FreeBSD General 1 20th June 2008 01:09 AM


All times are GMT. The time now is 09:35 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick