was filling jail_list with $jail_enable
This commit is contained in:
Jake Guffey 2012-06-14 10:41:04 -04:00
parent 27073fc2f0
commit 055b3f0f53
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ if [ "$onboot" = "true" ]; then
# if necessary
cat <<EOF
jail_list="\$(grep '^jail_enable=' /etc/rc.conf | cut -d= -f2)"
jail_list="\$(grep '^jail_list=' /etc/rc.conf | cut -d= -f2)"
if [ -z "\$jail_list" ]; then # no jail_list line in rc.conf at all
echo "jail_list=\"${name}\"" >>/etc/rc.conf
else