summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-27 15:28:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-27 15:28:17 +0000
commit817d27bcdca1aa05442b612bf8f22af5aec04215 (patch)
tree532a50a94d3cb8b40c64eb9c10480f0cbbcd093c /target
parent4172149f89b14c2760578f6dc99427794f83de2b (diff)
downloadmtk-20170518-817d27bcdca1aa05442b612bf8f22af5aec04215.zip
mtk-20170518-817d27bcdca1aa05442b612bf8f22af5aec04215.tar.gz
mtk-20170518-817d27bcdca1aa05442b612bf8f22af5aec04215.tar.bz2
sysupgrade: Dump image to sda device instead of hda (patch by Acinonyx)
SVN-Revision: 20514
Diffstat (limited to 'target')
-rw-r--r--target/linux/x86/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh
index 0f79a00..9871e62 100644
--- a/target/linux/x86/base-files/lib/upgrade/platform.sh
+++ b/target/linux/x86/base-files/lib/upgrade/platform.sh
@@ -14,7 +14,7 @@ platform_check_image() {
platform_do_upgrade() {
sync
- get_image "$1" > /dev/hda
+ get_image "$1" > /dev/sda
}
x86_prepare_ext2() {