summaryrefslogtreecommitdiffstats
path: root/scripts/zpool-config/lo-faulty-raid0.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/zpool-config/lo-faulty-raid0.sh')
-rw-r--r--scripts/zpool-config/lo-faulty-raid0.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/zpool-config/lo-faulty-raid0.sh b/scripts/zpool-config/lo-faulty-raid0.sh
index 10b8f88bc..bf057bba1 100644
--- a/scripts/zpool-config/lo-faulty-raid0.sh
+++ b/scripts/zpool-config/lo-faulty-raid0.sh
@@ -9,10 +9,9 @@
# <--------------------- raid0 zpool --------------------->
#
-FILES="/tmp/zpool-vdev0 \
- /tmp/zpool-vdev1 \
- /tmp/zpool-vdev2 \
- /tmp/zpool-vdev3"
+FILEDIR=${FILEDIR:-/var/tmp}
+FILES=${FILES:-"$FILEDIR/file-vdev0 $FILEDIR/file-vdev1 \
+ $FILEDIR/file-vdev2 $FILEDIR/file-vdev3"}
LODEVICES=""
MDDEVICES=""