8c2e0ce5c1793155c4c8569603ce1de0a47462d6
6 local basepath
="/proc/device-tree"
7 local nodepath
="$basepath/aliases/led-$1"
9 [ -f "$nodepath" ] && ledpath
=$
(cat "$nodepath")
10 [ -n "$ledpath" ] && label
=$
(cat "$basepath$ledpath/label")
15 lantiq_is_vdsl_system
() {
16 grep -qE "system type.*: (VR9|xRX200)" /proc
/cpuinfo