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
fi
# Add $name to jail_list if $onboot=true
if [ "$onboot" = "true" ]; then
# Add $name to jail_list if $onboot=yes
if [ "$onboot" = "yes" ]; then
# first check to see whether jail_enable="YES" exists in rc.conf or not and add it
# if necessary