diff options
Diffstat (limited to 'scripts/zpool-config/file-raidz.sh')
-rw-r--r-- | scripts/zpool-config/file-raidz.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/zpool-config/file-raidz.sh b/scripts/zpool-config/file-raidz.sh index 5b6c3ea2c..768e3de89 100644 --- a/scripts/zpool-config/file-raidz.sh +++ b/scripts/zpool-config/file-raidz.sh @@ -3,10 +3,9 @@ # 4 File Raid-Z 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"} zpool_create() { for FILE in ${FILES}; do |