1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-07-19 11:22:54 +02:00

ramips: wrap long line in platform upgrade script

SVN-Revision: 29392
This commit is contained in:
Gabor Juhos 2011-12-01 22:48:57 +00:00
parent d622263588
commit 4b2d1c3ad3

View File

@ -14,7 +14,18 @@ platform_check_image() {
[ "$ARGC" -gt 1 ] && return 1
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" ] && {
echo "Invalid image type."
return 1