mirror of
https://github.com/opnsense/src.git
synced 2026-04-04 17:05:14 -04:00
This commit fixes bug: command "jail -r" didn't trigger pre/post stop commands (and others) defined in config file if jid is specified insted of name. Also it adds basic tests for usr.sbin/jail to avoid regression. Reviewed by: jamie, kevans, ray MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D21328
7 lines
93 B
Text
7 lines
93 B
Text
# $FreeBSD$
|
|
|
|
exec.prestop = "echo STOP";
|
|
exec.prestart = "echo START";
|
|
persist;
|
|
|
|
basejail {}
|