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