#!/bin/sh exec 2>&1 zpool import -a || exit 1 exec chpst -b zfs-import pause