X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fipq806x%2Fbase-files%2Flib%2Fipq806x.sh;h=2a08a19b80c8b0c24d1017cc39b52536205bb963;hb=da472e5b30f63b7f214b1d646ef0d955cbf3f295;hp=a8b909ac04870740d75de1a5a8c8b144a9e7fd95;hpb=ae79c41286f0d9a97f2641450240ecac5465677d;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ipq806x/base-files/lib/ipq806x.sh b/target/linux/ipq806x/base-files/lib/ipq806x.sh index a8b909ac04..2a08a19b80 100644 --- a/target/linux/ipq806x/base-files/lib/ipq806x.sh +++ b/target/linux/ipq806x/base-files/lib/ipq806x.sh @@ -17,6 +17,9 @@ ipq806x_board_detect() { *"AP148") name="ap148" ;; + *"4040") + name="fritz4040" + ;; *"C2600") name="c2600" ;; @@ -69,7 +72,7 @@ ipq806x_board_name() { ipq806x_get_dt_led() { local label local ledpath - local basepath="/sys/firmware/devicetree/base" + local basepath="/proc/device-tree/base" local nodepath="$basepath/aliases/led-$1" [ -f "$nodepath" ] && ledpath=$(cat "$nodepath")