treewide: fix device tree path in scripts
[openwrt/staging/dedeckeh.git] / target / linux / ipq806x / base-files / lib / ipq806x.sh
index 2a08a19b80c8b0c24d1017cc39b52536205bb963..a8950a5e85996635169eed7e963d585cff3df603 100644 (file)
@@ -72,7 +72,7 @@ ipq806x_board_name() {
 ipq806x_get_dt_led() {
        local label
        local ledpath
-       local basepath="/proc/device-tree/base"
+       local basepath="/proc/device-tree"
        local nodepath="$basepath/aliases/led-$1"
 
        [ -f "$nodepath" ] && ledpath=$(cat "$nodepath")