summaryrefslogtreecommitdiffstats
path: root/scripts/zpool-config/scsi_debug-raidz2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/zpool-config/scsi_debug-raidz2.sh')
-rw-r--r--scripts/zpool-config/scsi_debug-raidz2.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/zpool-config/scsi_debug-raidz2.sh b/scripts/zpool-config/scsi_debug-raidz2.sh
index 429a84143..fa6e77a09 100644
--- a/scripts/zpool-config/scsi_debug-raidz2.sh
+++ b/scripts/zpool-config/scsi_debug-raidz2.sh
@@ -9,9 +9,8 @@ SDHOSTS=${SDHOSTS:-1}
SDTGTS=${SDTGTS:-1}
SDLUNS=${SDLUNS:-1}
LDMOD=/sbin/modprobe
-FILES="/tmp/zpool-vdev0 \
- /tmp/zpool-vdev1 \
- /tmp/zpool-vdev2"
+FILEDIR=${FILEDIR:-/var/tmp}
+FILES=${FILES:-"$FILEDIR/file-vdev0 $FILEDIR/file-vdev1 $FILEDIR/file-vdev2"}
DEVICES=""
zpool_create() {