|
@@ -72,7 +72,7 @@ ipq806x_board_name() {
|
|
|
ipq806x_get_dt_led() {
|
|
ipq806x_get_dt_led() {
|
|
|
local label
|
|
local label
|
|
|
local ledpath
|
|
local ledpath
|
|
|
- local basepath="/proc/device-tree/base"
|
|
|
|
|
|
|
+ local basepath="/proc/device-tree"
|
|
|
local nodepath="$basepath/aliases/led-$1"
|
|
local nodepath="$basepath/aliases/led-$1"
|
|
|
|
|
|
|
|
[ -f "$nodepath" ] && ledpath=$(cat "$nodepath")
|
|
[ -f "$nodepath" ] && ledpath=$(cat "$nodepath")
|