summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorTurbo Fredriksson <[email protected]>2014-02-03 21:54:40 +0000
committerBrian Behlendorf <[email protected]>2014-04-04 09:49:09 -0700
commitb79e1f1f27e72e0603beb176c9d8e4c78bc62c95 (patch)
tree97d1b27b9b93e3c6fd74e1379c1e77efb62d2512 /etc
parente37212f9a28e2b74f9d7ba6c0845a309ed49366a (diff)
Allow specifying '-o <opts>' in defaults/init script.
Signed-off-by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #2103
Diffstat (limited to 'etc')
-rw-r--r--etc/init.d/zfs.lsb.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/init.d/zfs.lsb.in b/etc/init.d/zfs.lsb.in
index a0f3a647d..e626f7905 100644
--- a/etc/init.d/zfs.lsb.in
+++ b/etc/init.d/zfs.lsb.in
@@ -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
@@ -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"