summaryrefslogtreecommitdiffstats
path: root/etc/init.d/zfs.redhat.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.redhat.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.redhat.in')
-rw-r--r--etc/init.d/zfs.redhat.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/zfs.redhat.in b/etc/init.d/zfs.redhat.in
index ae797c11a..2b48e95e9 100644
--- a/etc/init.d/zfs.redhat.in
+++ b/etc/init.d/zfs.redhat.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