aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/lib/functions/lantiq.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/base-files/lib/functions/lantiq.sh')
-rw-r--r--target/linux/lantiq/base-files/lib/functions/lantiq.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq.sh b/target/linux/lantiq/base-files/lib/functions/lantiq.sh
index e4eb4d723f..630832e512 100644
--- a/target/linux/lantiq/base-files/lib/functions/lantiq.sh
+++ b/target/linux/lantiq/base-files/lib/functions/lantiq.sh
@@ -39,3 +39,7 @@ lantiq_get_dt_led() {
echo "$label"
}
+
+lantiq_is_vdsl_system() {
+ grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo
+}