aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commit15b6e5575c85b1e46d627b4fc273eba2a8349320 (patch)
tree873537e9bd333b368a9c79cd276f5c619055e608 /target/linux
parent85c9f9860b673adeb3e4b4b573ba0789c3db45b3 (diff)
downloadupstream-15b6e5575c85b1e46d627b4fc273eba2a8349320.tar.gz
upstream-15b6e5575c85b1e46d627b4fc273eba2a8349320.tar.bz2
upstream-15b6e5575c85b1e46d627b4fc273eba2a8349320.zip
ramips: wrap long line in platform upgrade script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29392 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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