forked from ungleich-public/cdist
bugfix
was filling jail_list with $jail_enable
This commit is contained in:
parent
27073fc2f0
commit
055b3f0f53
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue