mkjail.sh

Check-in [1d6629c0d9]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Set a default variable for VERSION
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:1d6629c0d90b61114bff4d1a649a6648ea23ce5189f2535c0ec3d5d48e39a8d0
User & Date: feld 2018-10-04 14:41:30
Context
2018-10-04
14:43
Move this check earlier so it fires first check-in: 86c7421ab3 user: feld tags: master, trunk
14:41
Set a default variable for VERSION check-in: 1d6629c0d9 user: feld tags: master, trunk
14:39
Show help if no version is provided check-in: b74ac07ea7 user: feld tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/share/mkjail/upgrade.sh.

4
5
6
7
8
9
10

11
12
13
14
15
16
17
trap _cleanup HUP INT QUIT KILL TERM ABRT

aflag=0
jflag=0
vflag=0
PAGER=cat
SNAPNAME="mkjail-$(date '+%Y%m%d%H%M')"


_upgradejail()
{
    _validate
    _snapshot
    echo "Updating ${JAILNAME} jail..."
    echo ""







>







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
trap _cleanup HUP INT QUIT KILL TERM ABRT

aflag=0
jflag=0
vflag=0
PAGER=cat
SNAPNAME="mkjail-$(date '+%Y%m%d%H%M')"
VERSION=null

_upgradejail()
{
    _validate
    _snapshot
    echo "Updating ${JAILNAME} jail..."
    echo ""