From f4e31851eb43b6020f695c35d3ccbaab360fd45a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 7 Jun 2007 10:23:47 +0000 Subject: only format loopback on Flash 1.0 --- rescue-Flash/scripts/clear_systemloop | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rescue-Flash/scripts/clear_systemloop') diff --git a/rescue-Flash/scripts/clear_systemloop b/rescue-Flash/scripts/clear_systemloop index 159f22119..f218d0987 100755 --- a/rescue-Flash/scripts/clear_systemloop +++ b/rescue-Flash/scripts/clear_systemloop @@ -36,7 +36,9 @@ function doit() { dd if=/dev/zero of=$loop bs=4000000 count=100 fi - /sbin/mkfs.ext2 -q -F $loop + if [ x"$version" = x"1.0" ]; then + /sbin/mkfs.ext2 -q -F $loop + fi echo if [ $? -ne 0 ]; then -- cgit v1.2.1