Date: Fri, 18 Apr 2003 23:59:24 -0700 (PDT) From: Shizuka Kudo <shizukakudo_99@yahoo.com> To: freebsd-current@freebsd.org Subject: /etc/rc.d/jail question Message-ID: <20030419065924.74394.qmail@web11407.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
I have tried the newly included /etc/rc.d/jail and found that ${_jail_name} was never initialized.
I believe it is a typo, and the following patch works for me.
@@ -51,7 +51,7 @@
eval jail_rootdir=\"\$jail_${_jail}_rootdir\"
eval jail_hostname=\"\$jail_${_jail}_hostname\"
eval jail_ip=\"\$jail_${_jail}_ip\"
- eval jail_exec=\"\$jail_${_jail_name}_exec\"
+ eval jail_exec=\"\$jail_${_jail}_exec\"
[ -z ${jail_exec} ] && jail_exec="/bin/sh /etc/rc"
jail ${jail_rootdir} ${jail_hostname} ${jail_ip} ${jail_exec}
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030419065924.74394.qmail>
