mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 07:26:17 +02:00
ramips: wrap long line in platform upgrade script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29392 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7a1df0165f
commit
a24e101ea6
@ -14,7 +14,18 @@ platform_check_image() {
|
|||||||
[ "$ARGC" -gt 1 ] && return 1
|
[ "$ARGC" -gt 1 ] && return 1
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
bc2 | dir-300-b1 | dir-600-b1 | dir-600-b2 | fonera20n | nbg-419n | nw718 | rt-g32-b1 | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn)
|
bc2 | \
|
||||||
|
dir-300-b1 | \
|
||||||
|
dir-600-b1 | \
|
||||||
|
dir-600-b2 | \
|
||||||
|
fonera20n | \
|
||||||
|
hw550-3g | \
|
||||||
|
mofi3500-3gn | \
|
||||||
|
nbg-419n | \
|
||||||
|
nw718 | \
|
||||||
|
rt-g32-b1 | \
|
||||||
|
v22rw-2x2 | \
|
||||||
|
whr-g300n)
|
||||||
[ "$magic" != "2705" ] && {
|
[ "$magic" != "2705" ] && {
|
||||||
echo "Invalid image type."
|
echo "Invalid image type."
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user