#! bash function post_install { if ! zfs get all -t filesystem | grep -q "backup:"; then echo echo ">>> You'll need to configure ZFS properties for automatic snapshots to work" echo ">>> zfs set backup:frequent=on backup:hourly=on backup:daily=on backup:bsnap=on tank/root" echo echo ">>> Then enable and start some of the znap-*.timer systemd units." fi }