Fix path to sanoid snapshot cache file
This commit is contained in:
parent
123e35e804
commit
c21d8d0168
|
@ -10,7 +10,7 @@ function setup {
|
||||||
export SANOID="../../sanoid"
|
export SANOID="../../sanoid"
|
||||||
|
|
||||||
# make sure that there is no cache file
|
# make sure that there is no cache file
|
||||||
rm -f /var/cache/sanoidsnapshots.txt
|
rm -f /var/cache/sanoid/snapshots.txt
|
||||||
|
|
||||||
# install needed sanoid configuration files
|
# install needed sanoid configuration files
|
||||||
[ -f sanoid.conf ] && cp sanoid.conf /etc/sanoid/sanoid.conf
|
[ -f sanoid.conf ] && cp sanoid.conf /etc/sanoid/sanoid.conf
|
||||||
|
|
Loading…
Reference in New Issue