projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use the generic board_name function
[openwrt/staging/stintel.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
uci-defaults
/
04_led_migration
diff --git
a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
index 16722d1ab29afea416b427c789e9ff286ada36e5..d6f70770930ef7963f954bde0175bdcc0fb6fbe2 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
+++ b/
target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
@@
-41,9
+41,7
@@
migrate_leds()
config_foreach do_led_update_sysfs led "$@"
}
-. /lib/ar71xx.sh
-
-board=$(ar71xx_board_name)
+board=$(board_name)
case "$board" in
dhp-1565-a1|\