diff --git a/tools/bltk/bltk_get_hdparm.sh b/tools/bltk/bltk_get_hdparm.sh index 4f6a53b..72ca33d 100644 --- a/tools/bltk/bltk_get_hdparm.sh +++ b/tools/bltk/bltk_get_hdparm.sh @@ -57,8 +57,8 @@ PARTITIONS=$1 FOUND=0 READING=0 -TMP_FILE=$BLTK_ROOT/tmp/hdparm -DEV_INFO=$BLTK_HOME/tmp/dev_info +TMP_FILE=`mktemp`.hdparm +DEV_INFO=`mktemp`.dev_info /usr/bin/udisksctl dump > $TMP_FILE