aboutsummaryrefslogtreecommitdiff
path: root/zb-cleanup
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2014-06-16 12:00:31 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2014-06-16 12:00:31 +0200
commitece4ab99df7f82216ab9d0b52a6f0ce3e22d828f (patch)
tree31aa90be5940b5f81b95020c77c92e9ab76b488e /zb-cleanup
parent530cd735f9dbbde5f64f6421e2f224d2909e08f7 (diff)
downloadzfs-backup-ece4ab99df7f82216ab9d0b52a6f0ce3e22d828f.tar.gz
zfs-backup-ece4ab99df7f82216ab9d0b52a6f0ce3e22d828f.tar.bz2
.zb-rc file support
Diffstat (limited to 'zb-cleanup')
-rwxr-xr-xzb-cleanup1
1 files changed, 1 insertions, 0 deletions
diff --git a/zb-cleanup b/zb-cleanup
index fd17e42..b4cb63b 100755
--- a/zb-cleanup
+++ b/zb-cleanup
@@ -1,6 +1,7 @@
#!/bin/bash
source /etc/profile >/dev/null
+[ -f "$HOME/.zb-rc" ] && source "$HOME/.zb-rc"
if [[ -z "$1" || -z "$2" ]] ; then
echo "usage: $0 <zfs_object> <density_percent> [max_age]" >&2