diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-07-05 14:33:40 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-07-05 14:33:40 +0000 |
commit | 3f6173e1fc72a1627a6767de156ed0a5cb5e4a3c (patch) | |
tree | 7840a2273bfc83f3782cc824655d0196623c12fd /rescue/Flash | |
parent | 59f71843ebcefbdaed8ce086b80db1a92760bd98 (diff) | |
download | drakx-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
Diffstat (limited to 'rescue/Flash')
-rwxr-xr-x | rescue/Flash/scripts/clear_systemloop | 2 |
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 |