summaryrefslogtreecommitdiff
path: root/package/base-files/src/sbin/adkupdate
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src/sbin/adkupdate')
-rwxr-xr-xpackage/base-files/src/sbin/adkupdate4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate
index 1af188b41..dd8d3ecec 100755
--- a/package/base-files/src/sbin/adkupdate
+++ b/package/base-files/src/sbin/adkupdate
@@ -34,6 +34,8 @@ prepare() {
mount -o remount,rw /
if [ "$system" == "RB532" ];then
mount -t yaffs2 /dev/mtdblock0 /boot
+ elif [ "$system" == "AR7130" ];then
+ mount -t yaffs2 /dev/mtdblock1 /boot
elif [ "$system" == "FOXG20" ];then
mount -t vfat /dev/mmcblk0p1 /boot
fi
@@ -89,6 +91,8 @@ if [ -x /sbin/cfgfs ];then
fi
if [ "$system" == "RB532" ];then
umount -f /boot
+elif [ "$system" == "AR7130" ];then
+ umount -f /boot
elif [ "$system" == "FOXG20" ];then
umount -f /boot
fi