diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-24 19:45:09 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-24 19:45:09 +0100 |
commit | bfa2416c8786790b5901f3720fc6a6a6aab33c96 (patch) | |
tree | 6d2a71e5a4c2d571ea718549dbdf5a29da880d8c /package/base-files | |
parent | 8412c949934c0fc8eb1c73931b6bf60f75a1da4c (diff) | |
parent | 86d7ffda38b870dc96035feb4788ae1589aab11c (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files')
-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 6c2f58006..bc1082b1c 100755 --- a/package/base-files/src/sbin/adkupdate +++ b/package/base-files/src/sbin/adkupdate @@ -27,6 +27,8 @@ prepare() { mount -o remount,rw / if [ "$system" == "RB532" ];then mount -t yaffs2 /dev/mtdblock0 /boot + elif [ "$system" == "FOXG20" ];then + mount -t vfat /dev/mmcblk0p1 /boot fi } @@ -78,6 +80,8 @@ sync mount -o bind /etc /tmp/.cfgfs/root if [ "$system" == "RB532" ];then umount -f /boot +elif [ "$system" == "FOXG20" ];then + umount -f /boot fi echo "Update sucessful. You should reboot now." |