summaryrefslogtreecommitdiffstats
path: root/rescue/Flash
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-06-05 19:06:40 +0000
committerOlivier Blin <oblin@mandriva.com>2008-06-05 19:06:40 +0000
commit11fcfa47416c81b6c30efe2da4d0502525752f61 (patch)
tree465c9352c7a2aacb6320cae545aa258ba5dd4f4b /rescue/Flash
parent6ddbe7cb1c8cd40b5d9f43dee8b616743f3f921d (diff)
downloaddrakx-11fcfa47416c81b6c30efe2da4d0502525752f61.tar
drakx-11fcfa47416c81b6c30efe2da4d0502525752f61.tar.gz
drakx-11fcfa47416c81b6c30efe2da4d0502525752f61.tar.bz2
drakx-11fcfa47416c81b6c30efe2da4d0502525752f61.tar.xz
drakx-11fcfa47416c81b6c30efe2da4d0502525752f61.zip
add support for Flash 2008.1 (nash finds upper-case labels)
Diffstat (limited to 'rescue/Flash')
-rw-r--r--rescue/Flash/scripts/rescue_common6
1 files changed, 6 insertions, 0 deletions
diff --git a/rescue/Flash/scripts/rescue_common b/rescue/Flash/scripts/rescue_common
index 0001ca9b1..279e5762f 100644
--- a/rescue/Flash/scripts/rescue_common
+++ b/rescue/Flash/scripts/rescue_common
@@ -8,6 +8,8 @@ function detect_version() {
version="1.05"
elif has_label Mdv_Flash; then
version="2.0"
+ elif has_label MDV_FLASH; then
+ version="2.05"
fi
usbroot_device=$_device
source_version_variables
@@ -31,6 +33,10 @@ function source_version_variables {
label=Mdv_Flash
boot_rel="/.boot"
loopbacks_rel="/.loopbacks"
+ elif [ "$_version" = "2.05" ]; then
+ label=MDV_FLASH
+ boot_rel="/.boot"
+ loopbacks_rel="/.loopbacks"
fi
}