Fixed use of onboot parameter

onboot parameter was being checked against "true" but was being set as "yes/no"
This commit is contained in:
Jake Guffey 2012-09-07 10:02:37 -04:00
parent c88d648520
commit 1ad176aa63

View file

@ -300,8 +300,8 @@ END
EOF EOF
fi fi
# Add $name to jail_list if $onboot=true # Add $name to jail_list if $onboot=yes
if [ "$onboot" = "true" ]; then if [ "$onboot" = "yes" ]; then
# first check to see whether jail_enable="YES" exists in rc.conf or not and add it # first check to see whether jail_enable="YES" exists in rc.conf or not and add it
# if necessary # if necessary