cd38a86c63
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
8 lines
93 B
Plaintext
8 lines
93 B
Plaintext
# $FreeBSD$
|
|
|
|
exec.prestop = "echo STOP";
|
|
exec.prestart = "echo START";
|
|
persist;
|
|
|
|
basejail {}
|