diff options
-rw-r--r-- | etc/init.d/zfs.lsb.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/etc/init.d/zfs.lsb.in b/etc/init.d/zfs.lsb.in index c781f05f4..57aaf1ec6 100644 --- a/etc/init.d/zfs.lsb.in +++ b/etc/init.d/zfs.lsb.in @@ -25,16 +25,14 @@ # Source function library. . /lib/lsb/init-functions -# Source zfs configuration. -[ -f /etc/defaults/zfs ] && . /etc/defaults/zfs - -RETVAL=0 - LOCKFILE=/var/lock/zfs ZFS="@sbindir@/zfs" ZPOOL="@sbindir@/zpool" ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache" +# Source zfs configuration. +[ -r /etc/default/zfs ] && . /etc/default/zfs + [ -x $ZPOOL ] || exit 1 [ -x $ZFS ] || exit 2 |