sysupgrade: Dump image to sda device instead of hda (patch by Acinonyx)
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 27 Mar 2010 15:28:17 +0000 (15:28 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 27 Mar 2010 15:28:17 +0000 (15:28 +0000)
SVN-Revision: 20514

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

index 0f79a00cb831babe0a2546362019d4977c89e7e3..9871e62c617515cba91c502dd6718aa93e984711 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() {