Skip to content

Commit

Permalink
Allow specifying '-o <opts>' in defaults/init script.
Browse files Browse the repository at this point in the history
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue openzfs#2103
  • Loading branch information
FransUrbo authored and behlendorf committed Apr 4, 2014
1 parent e37212f commit b79e1f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/init.d/zfs.lsb.in
Expand Up @@ -32,6 +32,7 @@ ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
USE_DISK_BY_ID=0
VERBOSE_MOUNT=0
DO_OVERLAY_MOUNTS=0
MOUNT_EXTRA_OPTIONS=""

# Source zfs configuration.
[ -r '/etc/default/zfs' ] && . /etc/default/zfs
Expand Down Expand Up @@ -96,7 +97,7 @@ start()
fi

log_begin_msg "Mounting ZFS filesystems"
"$ZFS" mount -a$verbose$overlay
"$ZFS" mount -a$verbose$overlay$MOUNT_EXTRA_OPTIONS
log_end_msg $?

log_begin_msg "Exporting ZFS filesystems"
Expand Down

0 comments on commit b79e1f1

Please sign in to comment.