diff options
Diffstat (limited to 'scripts/zpool-config/lo-raidz2.sh')
-rw-r--r-- | scripts/zpool-config/lo-raidz2.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/zpool-config/lo-raidz2.sh b/scripts/zpool-config/lo-raidz2.sh index 53a032ec5..ea52236d3 100644 --- a/scripts/zpool-config/lo-raidz2.sh +++ b/scripts/zpool-config/lo-raidz2.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() { |