diff options
| author | Darik Horn <dajhorn@vanadac.com> | 2011-12-04 20:18:28 +0000 |
|---|---|---|
| committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2011-12-05 17:51:20 +0000 |
| commit | c2d9c41d5084db354d80c03fea4fb0bb97327c0a (patch) | |
| tree | f425ae0ae676efd9de09a5548c0c298949258e7c /etc | |
| parent | db7c1771da2634af4e2a4323759656c7f0afe689 (diff) | |
Diffstat (limited to 'etc')
| -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 c781f05f4d93..57aaf1ec60a9 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 |
