Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/fjail @ 702:70b16773945f
fjail: New format for the module-level docs.
Also: shellcheck now runs with reasonable results.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 01 Oct 2024 20:17:09 +0200 |
| parents | 18fe9674a0e5 |
| children | e2f262ec2bf4 |
comparison
equal
deleted
inserted
replaced
| 701:18fe9674a0e5 | 702:70b16773945f |
|---|---|
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 # -*- indent-tabs-mode: nil; -*- | 2 # -*- indent-tabs-mode: nil; -*- |
| 3 : 'A very minimal BSD Jail management tool. | 3 #: |
| 4 | 4 #: A very minimal BSD Jail management tool. |
| 5 :Author: Franz Glasner | 5 #: |
| 6 :Copyright: (c) 2019-2024 Franz Glasner. | 6 #: :Author: Franz Glasner |
| 7 All rights reserved. | 7 #: :Copyright: (c) 2019-2024 Franz Glasner. |
| 8 :License: BSD 3-Clause "New" or "Revised" License. | 8 #: All rights reserved. |
| 9 See LICENSE for details. | 9 #: :License: BSD 3-Clause "New" or "Revised" License. |
| 10 If you cannot find LICENSE see | 10 #: See LICENSE for details. |
| 11 <https://opensource.org/licenses/BSD-3-Clause> | 11 #: If you cannot find LICENSE see |
| 12 :ID: @(#)@@SIMPLEVERSIONTAG@@ | 12 #: <https://opensource.org/licenses/BSD-3-Clause> |
| 13 | 13 #: :ID: @(#)@@SIMPLEVERSIONTAG@@ |
| 14 ' | 14 #: |
| 15 | |
| 16 # Module-level setting | |
| 17 # shellcheck disable=SC2129 | |
| 18 | |
| 19 : # separator for shellcheck: no module-level directives below | |
| 20 | |
| 15 | 21 |
| 16 set -eu | 22 set -eu |
| 17 | 23 |
| 18 # shellcheck disable=SC2034 # VERSION appears unused | 24 # shellcheck disable=SC2034 # VERSION appears unused |
| 19 VERSION='@@VERSION@@' | 25 VERSION='@@VERSION@@' |
