Skip to content

Commit

Permalink
Actually source /etc/sysconfig/zfs instead of /etc/default/zfs
Browse files Browse the repository at this point in the history
Signed-off-by: Hajo M<C3><B6>ller <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#3162
  • Loading branch information
dasjoe authored and DeHackEd committed Apr 4, 2015
1 parent e3e09de commit d3598f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/init.d/zfs.redhat.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ DO_OVERLAY_MOUNTS=0
MOUNT_EXTRA_OPTIONS=""

# Source zfs configuration.
[ -r '/etc/sysconfig/zfs' ] && . /etc/default/zfs
[ -r '/etc/sysconfig/zfs' ] && . /etc/sysconfig/zfs

[ -x "$ZPOOL" ] || exit 1
[ -x "$ZFS" ] || exit 2
Expand Down

0 comments on commit d3598f5

Please sign in to comment.