1 platform_check_image
() {
2 # i know no way to verify the image
6 platform_do_upgrade
() {
8 get_image
"$1" |
dd of
=/dev
/mmcblk0 bs
=2M conv
=fsync
12 platform_copy_config
() {
13 mount
-t vfat
-o rw
,noatime
/dev
/mmcblk0p1
/mnt
14 cp -af "$CONF_TAR" /mnt
/