Merge branch 'master' of https://github.com/jdguffey/cdist
This commit is contained in:
commit
b42657fa8e
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ if [ "$onboot" = "true" ]; then
|
||||||
# if necessary
|
# if necessary
|
||||||
|
|
||||||
cat <<EOF
|
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
|
if [ -z "\$jail_list" ]; then # no jail_list line in rc.conf at all
|
||||||
echo "jail_list=\"${name}\"" >>/etc/rc.conf
|
echo "jail_list=\"${name}\"" >>/etc/rc.conf
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue