diff options
-rwxr-xr-x | tct/rpi3_prepare_flash_conf.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tct/rpi3_prepare_flash_conf.sh b/tct/rpi3_prepare_flash_conf.sh index ab17589..150ce65 100755 --- a/tct/rpi3_prepare_flash_conf.sh +++ b/tct/rpi3_prepare_flash_conf.sh @@ -68,3 +68,8 @@ if [ $RET -ne 0 ]; then fi switch2device "${SDMUX}" restart_device "${SDMUX}" + +echo "### cleanup ###" + +rm -rf "${IMAGE_MOUNTPOINT}" +rm -rf "${IMAGE_UNPACKED}" |