*"AP148")
name="ap148"
;;
+ *"4040")
+ name="fritz4040"
+ ;;
*"C2600")
name="c2600"
;;
*"DB149")
name="db149"
;;
+ *"NBG6817")
+ name="nbg6817"
+ ;;
*"R7500")
name="r7500"
;;
*"R7800")
name="r7800"
;;
+ *"VR2600v")
+ name="vr2600v"
+ ;;
esac
[ -z "$name" ] && name="unknown"
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")