summaryrefslogtreecommitdiffstats
path: root/rescue/Flash
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-12-21 10:43:43 +0000
committerOlivier Blin <oblin@mandriva.com>2007-12-21 10:43:43 +0000
commit299e394053a53d1c5aff28b503aab5edd02e0047 (patch)
tree1414d09cc9961d73c29ac7dbf6b67a504c8e432e /rescue/Flash
parent9b7b830c6f6bb07638e515e6ec8fd8237fc30d26 (diff)
downloaddrakx-299e394053a53d1c5aff28b503aab5edd02e0047.tar
drakx-299e394053a53d1c5aff28b503aab5edd02e0047.tar.gz
drakx-299e394053a53d1c5aff28b503aab5edd02e0047.tar.bz2
drakx-299e394053a53d1c5aff28b503aab5edd02e0047.tar.xz
drakx-299e394053a53d1c5aff28b503aab5edd02e0047.zip
use Mdv_Flash label for v2.0 (instead of MDV_FLASH)
Diffstat (limited to 'rescue/Flash')
-rw-r--r--rescue/Flash/scripts/rescue_common4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/Flash/scripts/rescue_common b/rescue/Flash/scripts/rescue_common
index f00cdb4dc..0001ca9b1 100644
--- a/rescue/Flash/scripts/rescue_common
+++ b/rescue/Flash/scripts/rescue_common
@@ -6,7 +6,7 @@ function detect_version() {
version="1.0"
elif has_label MDVUSBROOT; then
version="1.05"
- elif has_label MDV_FLASH; then
+ elif has_label Mdv_Flash; then
version="2.0"
fi
usbroot_device=$_device
@@ -28,7 +28,7 @@ function source_version_variables {
boot_rel="/.boot"
loopbacks_rel="/.loopbacks"
elif [ "$_version" = "2.0" ]; then
- label=MDV_FLASH
+ label=Mdv_Flash
boot_rel="/.boot"
loopbacks_rel="/.loopbacks"
fi