Actually source /etc/sysconfig/zfs instead of /etc/default/zfs

Signed-off-by: Hajo M<C3><B6>ller <dasjoe@users.noreply.github.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3162
This commit is contained in:
Hajo Möller 2015-03-09 21:51:31 +01:00 committed by Brian Behlendorf
parent 417104bdd3
commit 6184b3a6a0

View File

@ -37,7 +37,7 @@ DO_OVERLAY_MOUNTS=0
MOUNT_EXTRA_OPTIONS="" MOUNT_EXTRA_OPTIONS=""
# Source zfs configuration. # Source zfs configuration.
[ -r '/etc/sysconfig/zfs' ] && . /etc/default/zfs [ -r '/etc/sysconfig/zfs' ] && . /etc/sysconfig/zfs
[ -x "$ZPOOL" ] || exit 1 [ -x "$ZPOOL" ] || exit 1
[ -x "$ZFS" ] || exit 2 [ -x "$ZFS" ] || exit 2