OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | PART_NAME=linux |
2 | platform_check_image() { |
||
3 | [ "$#" -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() |