From b4ed443fc05c38067ab33346156f6903732f9419 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 1 Dec 2010 15:24:50 -0800 Subject: Speed up install-system progress bar The progress bar for copy files is nice but slows down the install because it updates too often --- scripts/install-system | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/install-system') diff --git a/scripts/install-system b/scripts/install-system index adda7339..17adb98c 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -899,7 +899,7 @@ create_partitions() { copy_filesystem() { cp -r -v --preserve=all "$@" | awk '{ ++files - if ((files % 10) == 0) { + if ((files % 100) == 0) { percent = files / total_files * 100 printf "%3d%% [", percent for (i=0;i