Changeset View
Changeset View
Standalone View
Standalone View
head/libexec/rc/rc.d/jail
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Lines | if [ -n "${_exec}" ]; then | ||||
# simple/backward-compatible execution | # simple/backward-compatible execution | ||||
_exec_start="${_exec}" | _exec_start="${_exec}" | ||||
_exec_stop="" | _exec_stop="" | ||||
else | else | ||||
# flexible execution | # flexible execution | ||||
if [ -z "${_exec_start}" ]; then | if [ -z "${_exec_start}" ]; then | ||||
_exec_start="/bin/sh /etc/rc" | _exec_start="/bin/sh /etc/rc" | ||||
if [ -z "${_exec_stop}" ]; then | if [ -z "${_exec_stop}" ]; then | ||||
_exec_stop="/bin/sh /etc/rc.shutdown" | _exec_stop="/bin/sh /etc/rc.shutdown jail" | ||||
fi | fi | ||||
fi | fi | ||||
fi | fi | ||||
eval _interface=\"\${jail_${_jv}_interface:-${jail_interface}}\" | eval _interface=\"\${jail_${_jv}_interface:-${jail_interface}}\" | ||||
eval _parameters=\"\${jail_${_jv}_parameters:-${jail_parameters}}\" | eval _parameters=\"\${jail_${_jv}_parameters:-${jail_parameters}}\" | ||||
eval _fstab=\"\${jail_${_jv}_fstab:-${jail_fstab:-/etc/fstab.$_j}}\" | eval _fstab=\"\${jail_${_jv}_fstab:-${jail_fstab:-/etc/fstab.$_j}}\" | ||||
( | ( | ||||
date +"# Generated by rc.d/jail at %Y-%m-%d %H:%M:%S" | date +"# Generated by rc.d/jail at %Y-%m-%d %H:%M:%S" | ||||
▲ Show 20 Lines • Show All 421 Lines • Show Last 20 Lines |