adding pv for progress bar for RAM loading

This commit is contained in:
2015-05-08 13:45:36 -04:00
parent 145a7d6271
commit ff24710b95
2 changed files with 3 additions and 1 deletions

View File

@@ -46,7 +46,8 @@ _mnt_sfs() {
if [[ "${copytoram}" == "y" ]]; then
msg -n ":: Copying squashfs image to RAM..."
if ! cp "${img}" "/run/archiso/copytoram/${img_fullname}" ; then
#if ! cp "${img}" "/run/archiso/copytoram/${img_fullname}" ; then
if ! pv -pterabT "${img}" > "/run/archiso/copytoram/${img_fullname}" ; then
echo "ERROR: while copy '${img}' to '/run/archiso/copytoram/${img_fullname}'"
launch_interactive_shell
fi