Fixed use of onboot parameter
onboot parameter was being checked against "true" but was being set as "yes/no"
This commit is contained in:
parent
c88d648520
commit
1ad176aa63
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue