1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00

ipq806x: add a helper variable with the vendor name stripped

This will allow to maintain the current syntax for LEDs config
when switching to a device tree compatible string boardname.

None of the current boards use a comma in the boardname, so they
will be unaffected.

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
This commit is contained in:
Luis Araneda 2017-12-27 23:38:50 -03:00 committed by Mathias Kresin
parent 8ed5dfedc6
commit 09e13bd341

@ -8,6 +8,7 @@
board_config_update
board=$(board_name)
boardname="${board##*,}"
case "$board" in
c2600)