ipq806x: add a helper variable with the vendor name stripped
[openwrt/staging/dedeckeh.git] / target / linux / ipq806x / base-files / etc / board.d / 01_leds
index 13717672682d94ee90c654658620fb7daebbbf6c..f9ec88bb34bf54bd1b87d2cc0dc5613f9badc618 100755 (executable)
@@ -4,11 +4,11 @@
 #
 
 . /lib/functions/uci-defaults.sh
-. /lib/ipq806x.sh
 
 board_config_update
 
-board=$(ipq806x_board_name)
+board=$(board_name)
+boardname="${board##*,}"
 
 case "$board" in
 c2600)