projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
583fa2e1dff310aec0a50582dc6711d065daef23
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
adm8668
/
base-files
/
lib
/
upgrade
/
platform.sh
1
PART_NAME
=
linux
2
platform_check_image
() {
3
[
"
$ARGC
"
-gt
1
] &&
return
1
4
5
case
"$(get_magic_word "
$1
")"
in
6
# u-boot
7
2705
)
return
0
;;
8
*)
9
echo
"Invalid image type. Please use only u-boot files"
10
return
1
11
;;
12
esac
13
}
14
15
# use default for platform_do_upgrade()