Skip to content

Commit c34ed5b

Browse files
Merge pull request #1129 from BastilleBSD/tschettervictor-patch-3
2 parents 2fd8a64 + 6b0ad3f commit c34ed5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

usr/local/share/bastille/network.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ EOF
423423
cat << EOF >> "${_jail_config}"
424424
## ${_if} interface
425425
vnet.interface += ${_if};
426+
exec.prestop += "ifconfig ${_if} -vnet ${_jailname}";
426427
}
427428
EOF
428429
# Add config to /etc/rc.conf

0 commit comments

Comments
 (0)