ipq806x: add a helper variable with the vendor name stripped
[openwrt/staging/chunkeey.git] / target / linux / ipq806x / base-files / etc / board.d / 01_leds
index 5e04ee773a95368e71ee2738e58f93c41019eb52..f9ec88bb34bf54bd1b87d2cc0dc5613f9badc618 100755 (executable)
@@ -8,6 +8,7 @@
 board_config_update
 
 board=$(board_name)
+boardname="${board##*,}"
 
 case "$board" in
 c2600)