summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/adkinstall/src/adkinstall4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/adkinstall/src/adkinstall b/package/adkinstall/src/adkinstall
index f123de0b8..1038d3c78 100644
--- a/package/adkinstall/src/adkinstall
+++ b/package/adkinstall/src/adkinstall
@@ -157,10 +157,10 @@ case $target {
umount /mnt
fi
if (( nand )); then
- mount_fs /dev/mtdblockp1 1 $fs /mnt
+ mount_fs /dev/mtdblock 1 $fs /mnt
rm -rf /mnt/* >/dev/null 2>&1
mkdir /mnt/boot
- mount_fs /dev/mtdblockp1 0 $fs /mnt/boot
+ mount_fs /dev/mtdblock 0 $fs /mnt/boot
extract_archive $archive /mnt
fix_perm /mnt
umount /mnt/boot