source: src-sh/lpreserver/backend/zfsmksnap.sh @ c684936

9.2-releasereleng/10.0releng/10.0.1
Last change on this file since c684936 was c684936, checked in by Kris Moore <kris@…>, 9 months ago

Add my work-in-progress for a new life-preserver backend command "lpreserver"

  • Property mode set to 100755
File size: 427 bytes
Line 
1#!/bin/sh
2# ZFS functionality
3# Args $1 = jail-name
4# Args $2 = zfs directive
5#######################################################################
6
7# Source our functions
8PROGDIR="/usr/local/share/lpreserver"
9
10# Source our variables
11. /usr/local/share/pcbsd/scripts/functions.sh
12. ${PROGDIR}/backend/functions.sh
13
14DATASET="${1}"
15
16if [ -z "${DATASET}" ]; then
17  exit_err "No dataset specified!"
18fi
19
20mkZFSSnap "${DATASET}" ""
Note: See TracBrowser for help on using the repository browser.