From 27216be05a9f646706593f779f9081486d389807 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 1 Sep 2013 13:36:22 +0000 Subject: Make the ezjail-admin config -r test hack official --- man8/ezjail-admin.8 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/man8/ezjail-admin.8 b/man8/ezjail-admin.8 index 2220152..72ef892 100644 --- a/man8/ezjail-admin.8 +++ b/man8/ezjail-admin.8 @@ -31,7 +31,7 @@ .Cm start | stop | restart | startcrypto | stopcrypto Ar jailname... .Nm .Cm config -.Op Fl r Ar run | norun +.Op Fl r Ar run | norun | test .Op Fl n Ar newname .Op Fl i Ar attach | detach | fsck .Op Fl z Ar newdataset @@ -146,7 +146,7 @@ see the sub-command for this. .El .Ss Nm Cm create -Create a new jail inside ezjail's scope. It either copies the new jail +Create a new jail inside ezjail's scope. It either copies the new jail directory tree template or an ezjail archive directory tree to new jail root directory, .Pa /usr/jails/ Ns Ar jailname @@ -419,8 +419,10 @@ the jail is restarted. .Pp The following options are available: .Bl -tag -width indent -.It Fl r Cm run | norun +.It Fl r Cm run | norun | test Set the jail to be automatically started or not on boot. + +Note that the test parameter can be used to check if an ezjail exists, in this case the script will return with an exit code of zero and the runnable state on standard out. A non-zero exit code will be returned if the jail does not exist. .It Fl n Ar newname Rename the jail. Unless a custom root directory was given with the .Fl r @@ -628,4 +630,4 @@ The man page is based on a draft by .Aq joeb1@a1poweruser.com and was rewritten by .An Frederic Perrin -.Aq frederic.perrin@resel.fr . \ No newline at end of file +.Aq frederic.perrin@resel.fr . -- cgit v1.2.3