diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-05-20 19:00:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-05-20 19:00:09 +0200 |
commit | 10668d53167c49eefbbac043db5f1c183ac8f21c (patch) | |
tree | e4d8e1c109c1059603c4100802be0693fb180aec /package/base-files/src/sbin/adkupdate | |
parent | 8fa64bb300a5063f6f37f9dddfb95588ff3c3cf6 (diff) | |
parent | 896b6bb853f900eaebd56447df16958bf15916db (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 |