[x86] sysupgrade: Dump image to sda device instead of hda (patch by Acinonyx)
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Mar 2010 15:28:17 +0000 (15:28 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Mar 2010 15:28:17 +0000 (15:28 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20514 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/x86/base-files/lib/upgrade/platform.sh

index 0f79a00..9871e62 100644 (file)
@@ -14,7 +14,7 @@ platform_check_image() {
 
 platform_do_upgrade() {
        sync
-       get_image "$1" > /dev/hda
+       get_image "$1" > /dev/sda
 }
 
 x86_prepare_ext2() {