diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-05-27 17:19:33 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-05-27 17:19:33 +0200 |
commit | 9a841e2aed7b7e52958e5703215643dd3cf45ad0 (patch) | |
tree | 58b5a13611e2450d6f88eae256b43e3d6cbd5356 /package/base-files/src/sbin/adkupdate | |
parent | c12b595892e3231182239998f6561bd6556a9947 (diff) | |
parent | 23eff1d5d3d4f22fc3d2fe9de026e3df3edf426d (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/src/sbin/adkupdate')
-rwxr-xr-x | package/base-files/src/sbin/adkupdate | 4 |
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 |