summaryrefslogtreecommitdiffstats
path: root/rescue-Flash/scripts
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-06-07 10:23:47 +0000
committerOlivier Blin <oblin@mandriva.com>2007-06-07 10:23:47 +0000
commitf4e31851eb43b6020f695c35d3ccbaab360fd45a (patch)
treeff1cdf36cdf8ab7e332cb2d6cb130f71774b2842 /rescue-Flash/scripts
parent0a891d6558b2344967adac375bda38c33f250724 (diff)
downloaddrakx-f4e31851eb43b6020f695c35d3ccbaab360fd45a.tar
drakx-f4e31851eb43b6020f695c35d3ccbaab360fd45a.tar.gz
drakx-f4e31851eb43b6020f695c35d3ccbaab360fd45a.tar.bz2
drakx-f4e31851eb43b6020f695c35d3ccbaab360fd45a.tar.xz
drakx-f4e31851eb43b6020f695c35d3ccbaab360fd45a.zip
only format loopback on Flash 1.0
Diffstat (limited to 'rescue-Flash/scripts')
-rwxr-xr-xrescue-Flash/scripts/clear_systemloop4
1 files changed, 3 insertions, 1 deletions
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