aboutsummaryrefslogtreecommitdiff
path: root/recipes-bsp/zaurus-utils/zaurus-updater/updater.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/zaurus-utils/zaurus-updater/updater.sh')
-rw-r--r--recipes-bsp/zaurus-utils/zaurus-updater/updater.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/zaurus-utils/zaurus-updater/updater.sh b/recipes-bsp/zaurus-utils/zaurus-updater/updater.sh
index bfb6de4..d724a48 100644
--- a/recipes-bsp/zaurus-utils/zaurus-updater/updater.sh
+++ b/recipes-bsp/zaurus-utils/zaurus-updater/updater.sh
@@ -70,7 +70,7 @@ UNPACKED_ROOTFS=0 # spitz only
RO_MTD_LINE=`cat /proc/mtd | grep "root" | tail -n 1`
if [ "$RO_MTD_LINE" = "" ]; then
- RO_MTD_LINE=`cat /proc/mtd | grep "\<NAND\>.*\<2\>" | tail -n 1`
+ RO_MTD_LINE=`cat /proc/mtd | grep "\<NAND\>.*\<1\>" | tail -n 1`
fi
RO_MTD_NO=`echo $RO_MTD_LINE | cut -d: -f1 | cut -dd -f2`
RO_MTD=/dev/mtd$RO_MTD_NO