aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/zpool-config/lo-raid0.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/zpool-config/lo-raid0.sh')
-rw-r--r--scripts/zpool-config/lo-raid0.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/zpool-config/lo-raid0.sh b/scripts/zpool-config/lo-raid0.sh
index f24050f46..1f23fe1ff 100644
--- a/scripts/zpool-config/lo-raid0.sh
+++ b/scripts/zpool-config/lo-raid0.sh
@@ -3,10 +3,9 @@
# 4 Device Loopback Raid-0 Configuration
#
-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"}
DEVICES=""
zpool_create() {