From 6d808e8257e790a166eca2c90bd32298386e3577 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Tue, 5 Nov 2013 09:41:57 +0100 Subject: [PATCH] 00-zfs.sh: make is_zfs() public --- defaults/initrd.d/00-zfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/initrd.d/00-zfs.sh b/defaults/initrd.d/00-zfs.sh index 2509724..7828770 100755 --- a/defaults/initrd.d/00-zfs.sh +++ b/defaults/initrd.d/00-zfs.sh @@ -4,7 +4,7 @@ . /etc/initrd.d/00-fsdev.sh . /etc/initrd.d/00-devmgr.sh -_is_zfs() { +is_zfs() { # Note: this only works after zfs_real_root_init # (thus, only after real_root_init) [ "${USE_ZFS}" = "1" ] && return 0 @@ -65,7 +65,7 @@ _call_func_timeout() { zfs_start_volumes() { # is ZFS enabled? - _is_zfs || return 0 + is_zfs || return 0 # Avoid race involving asynchronous module loading if _call_func_timeout wait_for_zfs 5; then