Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-doc
Path: blob/main/website/static/security/patches/EN-07:03/rc.d_jail.patch
18096 views
1
Index: etc/rc.d/jail
2
===================================================================
3
RCS file: /home/ncvs/src/etc/rc.d/jail,v
4
retrieving revision 1.23.2.7.2.1
5
diff -u -d -r1.23.2.7.2.1 jail
6
--- etc/rc.d/jail 11 Jan 2007 18:17:24 -0000 1.23.2.7.2.1
7
+++ etc/rc.d/jail 27 Feb 2007 20:47:59 -0000
8
@@ -331,8 +331,8 @@
9
echo ${_jail_id} > /var/run/jail_${_jail}.id
10
else
11
jail_umount_fs
12
- if [ -n "${jail_interface}" ]; then
13
- ifconfig ${jail_interface} -alias ${jail_ip}
14
+ if [ -n "${_interface}" ]; then
15
+ ifconfig ${_interface} -alias ${_ip}
16
fi
17
echo " cannot start jail \"${_jail}\": "
18
tail +2 ${_tmp_jail}
19
20