diff options
Diffstat (limited to 'etc/init.d/zfs.gentoo.in')
-rw-r--r-- | etc/init.d/zfs.gentoo.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/init.d/zfs.gentoo.in b/etc/init.d/zfs.gentoo.in index df883cfa4..5b8671e0a 100644 --- a/etc/init.d/zfs.gentoo.in +++ b/etc/init.d/zfs.gentoo.in @@ -3,6 +3,11 @@ # Released under the 2-clause BSD license. # $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs/files/zfs,v 0.9 2011/04/30 10:13:43 devsk Exp $ +if [ -z "$init" ]; then + # Not interactive + grep -Eqi 'zfs=off|zfs=no' /proc/cmdline && exit 3 +fi + depend() { # bootmisc will log to /var which may be a different zfs than root. |