comparison sbin/fjail @ 386:84d2735fe7f6

Simplified version tagging a lot: it is also faster now. While being there: adjusting copyright year to end in 2023 now.
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 23 Feb 2023 01:08:31 +0100
parents 423c16c3280f
children 9c3b1966ba91
comparison
equal deleted inserted replaced
385:d058f55fffea 386:84d2735fe7f6
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 : 'A very minimal BSD Jail management tool.
4 4
5 :Author: Franz Glasner 5 :Author: Franz Glasner
6 :Copyright: (c) 2019-2022 Franz Glasner. 6 :Copyright: (c) 2019-2023 Franz Glasner.
7 All rights reserved. 7 All rights reserved.
8 :License: BSD 3-Clause "New" or "Revised" License. 8 :License: BSD 3-Clause "New" or "Revised" License.
9 See LICENSE for details. 9 See LICENSE for details.
10 If you cannot find LICENSE see 10 If you cannot find LICENSE see
11 <https://opensource.org/licenses/BSD-3-Clause> 11 <https://opensource.org/licenses/BSD-3-Clause>
12 :ID: @(#)@@PKGORIGIN@@ $HGid$ 12 :ID: @(#)@@SIMPLEVERSIONTAG@@
13 13
14 ' 14 '
15 15
16 set -eu 16 set -eu
17 17
682 # Global option handling 682 # Global option handling
683 # 683 #
684 while getopts "Vh" _opt ; do 684 while getopts "Vh" _opt ; do
685 case ${_opt} in 685 case ${_opt} in
686 V) 686 V)
687 printf 'fjail v%s (rv:%s)\n' "${VERSION}" '@@HGREVISION@@' 687 printf 'fjail %s\n' '@@SIMPLEVERSIONSTR@@'
688 exit 0 688 exit 0
689 ;; 689 ;;
690 h) 690 h)
691 echo "${USAGE}" 691 echo "${USAGE}"
692 exit 0 692 exit 0