summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-08-17 06:01:44 +0000
committerJohn Crispin <john@openwrt.org>2015-08-17 06:01:44 +0000
commita18b35a2f11a58efa39d9ce8114d917b992696d6 (patch)
tree9ee4c7e309d488383cfe151da375ac1c9f1344f9 /target/linux/ramips/base-files/lib/upgrade/platform.sh
parent57e614c1790e316ef8b5b8cb0cd4ae4dcb185d3d (diff)
downloadmaster-31e0f0ae-a18b35a2f11a58efa39d9ce8114d917b992696d6.tar.gz
master-31e0f0ae-a18b35a2f11a58efa39d9ce8114d917b992696d6.tar.bz2
master-31e0f0ae-a18b35a2f11a58efa39d9ce8114d917b992696d6.zip
ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.sh
This patch: * fixes various mistakes (leading spaces, wrong or missing model names) * shortens model strings (we don't need to use whole model string from dts file, make it for consistency and as optimization) * sorts boards alphabetically in base-files/lib/ramips.sh script. Case statement was tested after above changes with simple script, which: * takes model string from dts{,i} file (model = "...") * provides this value as case input ($machine) * returns output ($name) Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46632
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
0 files changed, 0 insertions, 0 deletions