summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-01 22:48:57 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-01 22:48:57 +0000
commita24e101ea6b4676daf405968265d8c1aac3215c0 (patch)
tree873537e9bd333b368a9c79cd276f5c619055e608 /target/linux/ramips/base-files/lib/upgrade
parent7a1df0165f17c65e265e402a0fe87628420fdb2a (diff)
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/ramips/base-files/lib/upgrade')
-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 3bc95dd8e..7cc5420f5 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