1
0

simplify customization of envvars

This commit is contained in:
michele
2014-03-20 13:03:21 +01:00
parent 172e1857c6
commit 60edb5e5ab
2 changed files with 14 additions and 6 deletions

View File

@ -1,13 +1,20 @@
#! /bin/sh
# change this to the name of your ZFS pool.
zpool="zroot"
# names of the DATASETs to exclude (datasets, not mountpoints!)
# can override this list at runtime with EXCLUDES envvar.
# can extend this list at runtime with EXTRA_EXCLUDES envvar.
excludes="/usr/ports /usr/src /backups"
# You do not want to edit anything below here
tstamp=`date +%Y%m%d-%H%M%S`
label_pfx="zbk-"
usrlabel=$1
maxnum=$2
zpool="zroot"
# names of the DATASETs to exclude (datasets, not mountpoints!)
excludes="/usr/ports /usr/src /backups"
usage () {
echo Usage: