aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xzb-cleanup2
-rwxr-xr-xzb-pull2
-rwxr-xr-xzb-snap2
3 files changed, 6 insertions, 0 deletions
diff --git a/zb-cleanup b/zb-cleanup
index 9761ebf..1c4a97c 100755
--- a/zb-cleanup
+++ b/zb-cleanup
@@ -1,5 +1,7 @@
#!/bin/bash
+source /etc/profile >&/dev/null
+
if [[ -z "$1" || -z "$2" ]] ; then
echo "usage: $0 <zfs_object> <density_percent> [max_age]" >&2
exit 1
diff --git a/zb-pull b/zb-pull
index 0dabade..2aaeac8 100755
--- a/zb-pull
+++ b/zb-pull
@@ -1,5 +1,7 @@
#!/bin/sh
+source /etc/profile >&/dev/null
+
if [[ -z "$1" || -z "$2" || -z "$3" ]] ; then
echo "usage: $0 <ssh_remote> <remote_zfs_object> <local_zfs_object>" >&2
exit 1
diff --git a/zb-snap b/zb-snap
index bd94e5d..18ef74b 100755
--- a/zb-snap
+++ b/zb-snap
@@ -1,5 +1,7 @@
#!/bin/sh
+source /etc/profile >&/dev/null
+
if [ -z "$1" ] ; then
echo "usage: $0 <zfs_object>" >&2
exit 1