summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib
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 /target/linux/ramips/base-files/lib
parentd6222635882369058bf1a57eac6da1eb090bb786 (diff)
downloadmtk-20170518-4b2d1c3ad392be2c30e9f7330e86ae527171c274.zip
mtk-20170518-4b2d1c3ad392be2c30e9f7330e86ae527171c274.tar.gz
mtk-20170518-4b2d1c3ad392be2c30e9f7330e86ae527171c274.tar.bz2
ramips: wrap long line in platform upgrade script
SVN-Revision: 29392
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-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 3bc95dd..7cc5420 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