Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/jail
| Show First 20 Lines • Show All 599 Lines • ▼ Show 20 Lines | jail_warn() | ||||
| case $_confwarn in | case $_confwarn in | ||||
| 1) warn "Per-jail configuration via jail_* variables " \ | 1) warn "Per-jail configuration via jail_* variables " \ | ||||
| "is obsolete. Please consider migrating to $jail_conf." | "is obsolete. Please consider migrating to $jail_conf." | ||||
| ;; | ;; | ||||
| esac | esac | ||||
| } | } | ||||
| load_rc_config $name | load_rc_config $name | ||||
| # doesn't make sense to run in a svcj | |||||
| jail_svcj="NO" | |||||
| case $# in | case $# in | ||||
| 1) run_rc_command $@ ${jail_list:-_ALL} ;; | 1) run_rc_command $@ ${jail_list:-_ALL} ;; | ||||
| *) jail_reverse_stop="no" | *) jail_reverse_stop="no" | ||||
| run_rc_command $@ ;; | run_rc_command $@ ;; | ||||
| esac | esac | ||||