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 <dasjoe@users.noreply.github.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#3162
  • Loading branch information
dasjoe authored and behlendorf committed Mar 10, 2015
1 parent 417104b commit 6184b3a
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 6184b3a

Please sign in to comment.