summaryrefslogtreecommitdiffstats
path: root/etc/init.d/zfs.gentoo.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-08-22 15:58:54 -0700
committerBrian Behlendorf <[email protected]>2011-08-22 16:01:59 -0700
commit1a2e6a635f9ca259c687d062a133fb972c5d84c5 (patch)
treec9a9c4c10d50320f4a0792cda5f11ae9ca3096cf /etc/init.d/zfs.gentoo.in
parentfd1cd4888a197256d18a877c7fcf259e50ccd65f (diff)
Fix incorrect zpool_cache substitution
This regression was accidentally introduced by commit aa2b489. I was attempting to simplify the init scripts and accidentally confused the /etc/init.d and /etc/zfs paths. This change reverts the init script modifications. Signed-off-by: Brian Behlendorf <[email protected]> Closes #370
Diffstat (limited to 'etc/init.d/zfs.gentoo.in')
-rw-r--r--etc/init.d/zfs.gentoo.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/zfs.gentoo.in b/etc/init.d/zfs.gentoo.in
index 31a539cc8..767aba8f9 100644
--- a/etc/init.d/zfs.gentoo.in
+++ b/etc/init.d/zfs.gentoo.in
@@ -13,7 +13,7 @@ depend()
ZFS="@sbindir@/zfs"
ZPOOL="@sbindir@/zpool"
-ZPOOL_CACHE="@initdir@/zpool.cache"
+ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
ZFS_MODULE=zfs
checksystem() {