summaryrefslogtreecommitdiff
path: root/package/base-files/src/sbin/adkupdate
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-07 12:34:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-07 12:34:57 +0200
commitd22b78be7b2b95ba028c6584e9ee5abb69a375cb (patch)
tree039da0ef61265cda4512279d36aea46c4670a715 /package/base-files/src/sbin/adkupdate
parent702e216210d58f1301c80d4e55af5d29f813eb19 (diff)
parent2e2eee9052d2c487d7114818ca446c370dba7f49 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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