diff options
Diffstat (limited to 'scripts/zpool-config/lo-faulty-raidz.sh')
-rw-r--r-- | scripts/zpool-config/lo-faulty-raidz.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/zpool-config/lo-faulty-raidz.sh b/scripts/zpool-config/lo-faulty-raidz.sh index 2f1f08aa6..07fd14559 100644 --- a/scripts/zpool-config/lo-faulty-raidz.sh +++ b/scripts/zpool-config/lo-faulty-raidz.sh @@ -9,10 +9,9 @@ # <--------------------- raidz zpool ---------------------> # -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"} LODEVICES="" MDDEVICES="" |