aboutsummaryrefslogtreecommitdiffstats
path: root/etc/init.d/zfs.fedora.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-08-09 16:49:18 -0700
committerBrian Behlendorf <[email protected]>2011-08-19 16:26:14 -0700
commitaa2b4896c93bbb2652ddc5e10e66175e54ff56c8 (patch)
treee0868dd6517d1f17fe8ecb09096706c54760a31a /etc/init.d/zfs.fedora.in
parentf0102d6e75d51b8d92624ba054a3fa54c807fb7f (diff)
Fix autoconf variable substitution in init scripts.
Change the variable substitution in the init script templates according to the method described in the Autoconf manual; Chapter 4.7.2: Installation Directory Variables. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'etc/init.d/zfs.fedora.in')
-rw-r--r--etc/init.d/zfs.fedora.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/zfs.fedora.in b/etc/init.d/zfs.fedora.in
index 04f2077ce..1583a109e 100644
--- a/etc/init.d/zfs.fedora.in
+++ b/etc/init.d/zfs.fedora.in
@@ -32,7 +32,7 @@ export PATH=/usr/local/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
RETVAL=0
ZFS="@sbindir@/zfs"
ZPOOL="@sbindir@/zpool"
-ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
+ZPOOL_CACHE="@initdir@/zpool.cache"
servicename=zfs
LOCKFILE=/var/lock/subsys/$servicename