From d8ad4fa376a0f7c6056c7ba5be84c62822baf7bd Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 1 Sep 2005 16:17:46 +0000 Subject: [PATCH] interruptable readall --- commands/scripts/setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 27e3cc9a2..64622ab38 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -367,17 +367,19 @@ echo "Scanning disk for bad blocks. Hit CTRL+C to stop the scan if you are" echo "sure that there can not be any bad blocks. Otherwise just wait." trap ': nothing;echo' 2 + echo "" echo "Scanning /dev/$root for bad blocks:" readall -b /dev/$root | sh +echo "" echo "Scanning /dev/$home for bad blocks:" readall -b /dev/$home | sh -trap 2 echo "" echo "Scanning /dev/$usr for bad blocks:" readall -b /dev/$usr | sh + trap 2 echo "" -- 2.44.0