mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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:
parent
417104bdd3
commit
6184b3a6a0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user