diff options
author | Brian Behlendorf <[email protected]> | 2011-08-22 15:58:54 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-08-22 16:01:59 -0700 |
commit | 1a2e6a635f9ca259c687d062a133fb972c5d84c5 (patch) | |
tree | c9a9c4c10d50320f4a0792cda5f11ae9ca3096cf /etc/init.d/zfs.redhat.in | |
parent | fd1cd4888a197256d18a877c7fcf259e50ccd65f (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.redhat.in')
-rw-r--r-- | etc/init.d/zfs.redhat.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/zfs.redhat.in b/etc/init.d/zfs.redhat.in index 2b48e95e9..ae797c11a 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="@initdir@/zpool.cache" +ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache" servicename=zfs LOCKFILE=/var/lock/subsys/$servicename |