View Single Post
  #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
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