diff options
author | erdgeist <erdgeist@erdgeist.org> | 2013-09-01 13:36:22 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2013-09-01 13:36:22 +0000 |
commit | 27216be05a9f646706593f779f9081486d389807 (patch) | |
tree | eb4d8ce90fd6b47b8adb36299c88f84f17d27f5d | |
parent | b267b62dad37368e15dfe4c7978dd808785e4f95 (diff) |
Make the ezjail-admin config -r test hack official
-rw-r--r-- | man8/ezjail-admin.8 | 10 |
1 files 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 @@ | |||
31 | .Cm start | stop | restart | startcrypto | stopcrypto Ar jailname... | 31 | .Cm start | stop | restart | startcrypto | stopcrypto Ar jailname... |
32 | .Nm | 32 | .Nm |
33 | .Cm config | 33 | .Cm config |
34 | .Op Fl r Ar run | norun | 34 | .Op Fl r Ar run | norun | test |
35 | .Op Fl n Ar newname | 35 | .Op Fl n Ar newname |
36 | .Op Fl i Ar attach | detach | fsck | 36 | .Op Fl i Ar attach | detach | fsck |
37 | .Op Fl z Ar newdataset | 37 | .Op Fl z Ar newdataset |
@@ -146,7 +146,7 @@ see the | |||
146 | sub-command for this. | 146 | sub-command for this. |
147 | .El | 147 | .El |
148 | .Ss Nm Cm create | 148 | .Ss Nm Cm create |
149 | Create a new jail inside ezjail's scope. It either copies the new jail | 149 | Create a new jail inside ezjail's scope. It either copies the new jail |
150 | directory tree template or an ezjail archive directory tree to new jail root | 150 | directory tree template or an ezjail archive directory tree to new jail root |
151 | directory, | 151 | directory, |
152 | .Pa /usr/jails/ Ns Ar jailname | 152 | .Pa /usr/jails/ Ns Ar jailname |
@@ -419,8 +419,10 @@ the jail is restarted. | |||
419 | .Pp | 419 | .Pp |
420 | The following options are available: | 420 | The following options are available: |
421 | .Bl -tag -width indent | 421 | .Bl -tag -width indent |
422 | .It Fl r Cm run | norun | 422 | .It Fl r Cm run | norun | test |
423 | Set the jail to be automatically started or not on boot. | 423 | Set the jail to be automatically started or not on boot. |
424 | |||
425 | 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. | ||
424 | .It Fl n Ar newname | 426 | .It Fl n Ar newname |
425 | Rename the jail. Unless a custom root directory was given with the | 427 | Rename the jail. Unless a custom root directory was given with the |
426 | .Fl r | 428 | .Fl r |
@@ -628,4 +630,4 @@ The man page is based on a draft by | |||
628 | .Aq joeb1@a1poweruser.com | 630 | .Aq joeb1@a1poweruser.com |
629 | and was rewritten by | 631 | and was rewritten by |
630 | .An Frederic Perrin | 632 | .An Frederic Perrin |
631 | .Aq frederic.perrin@resel.fr . \ No newline at end of file | 633 | .Aq frederic.perrin@resel.fr . |