aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-01 22:48:57 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-01 22:48:57 +0000
commit4b2d1c3ad392be2c30e9f7330e86ae527171c274 (patch)
treeba972e490217555cdd5f7fe78599ab592ddf521c
parentd6222635882369058bf1a57eac6da1eb090bb786 (diff)
downloadupstream-4b2d1c3ad392be2c30e9f7330e86ae527171c274.tar.gz
upstream-4b2d1c3ad392be2c30e9f7330e86ae527171c274.tar.bz2
upstream-4b2d1c3ad392be2c30e9f7330e86ae527171c274.zip
ramips: wrap long line in platform upgrade script
SVN-Revision: 29392
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 3bc95dd8e0..7cc5420f50 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -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