Page MenuHomeFreeBSD

D7465.id19191.diff
No OneTemporary

D7465.id19191.diff

Index: etc/defaults/rc.conf
===================================================================
--- etc/defaults/rc.conf
+++ etc/defaults/rc.conf
@@ -695,6 +695,7 @@
### Jail Configuration (see rc.conf(5) manual page) ##########
##############################################################
jail_enable="NO" # Set to NO to disable starting of any jails
+jail_confwarn="YES" # Prevent warning about obsolete per-jail configuration
jail_parallel_start="NO" # Start jails in the background
jail_list="" # Space separated list of names of jails
jail_reverse_stop="NO" # Stop jails in reverse order
Index: etc/rc.d/jail
===================================================================
--- etc/rc.d/jail
+++ etc/rc.d/jail
@@ -147,7 +147,8 @@
#
# To relieve confusion, show a warning message.
#
- _confwarn=1
+ : ${jail_confwarn:=YES}
+ checkyesno jail_confwarn && _confwarn=1
if [ -r "$jail_conf" -o -r "$_jconf" ]; then
if ! checkyesno jail_parallel_start; then
warn "$_conf is created and used for jail $_j."

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 21, 12:39 AM (12 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31875223
Default Alt Text
D7465.id19191.diff (1 KB)

Event Timeline