summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-07-05 14:33:40 +0000
committerOlivier Blin <oblin@mandriva.com>2007-07-05 14:33:40 +0000
commit3f6173e1fc72a1627a6767de156ed0a5cb5e4a3c (patch)
tree7840a2273bfc83f3782cc824655d0196623c12fd
parent59f71843ebcefbdaed8ce086b80db1a92760bd98 (diff)
downloaddrakx-3f6173e1fc72a1627a6767de156ed0a5cb5e4a3c.tar
drakx-3f6173e1fc72a1627a6767de156ed0a5cb5e4a3c.tar.gz
drakx-3f6173e1fc72a1627a6767de156ed0a5cb5e4a3c.tar.bz2
drakx-3f6173e1fc72a1627a6767de156ed0a5cb5e4a3c.tar.xz
drakx-3f6173e1fc72a1627a6767de156ed0a5cb5e4a3c.zip
always initialize loopback to default size on versions > 1.0
-rwxr-xr-xrescue/Flash/scripts/clear_systemloop2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/Flash/scripts/clear_systemloop b/rescue/Flash/scripts/clear_systemloop
index 4ae821ff6..6d7015c84 100755
--- a/rescue/Flash/scripts/clear_systemloop
+++ b/rescue/Flash/scripts/clear_systemloop
@@ -34,7 +34,7 @@ function doit() {
if [ x"$confirm" = x"y" -o x"$confirm" = x"Y" ]; then
- if [ ! -f $loop ]; then
+ if [ ! -f $loop ] || [ x"$version" != x"1.0" ]; then
dd if=/dev/zero of=$loop bs=4000000 count=100
fi