#!/bin/sh
set -e
. /etc/default/openmediavault
. /usr/share/openmediavault/scripts/helper-functions
case "$1" in
configure)
if ! omv_config_exists "/config/services/zfs"; then
echo "Initialize configuration"
object="0"
object="${object}827"
omv_config_add_element "/config/services" "zfs" "${object}" true
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0