aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-02-14 15:05:49 +0000
committerJohn Crispin <john@openwrt.org>2012-02-14 15:05:49 +0000
commit976d3eb85418257a2748f054d811eb0c2e70f820 (patch)
treefa915017856aaef1368012269852ce4b6ece0868 /target/linux/lantiq/base-files/lib
parent9a0e17857e8f10bbd50bcd935107730806138423 (diff)
downloadupstream-976d3eb85418257a2748f054d811eb0c2e70f820.tar.gz
upstream-976d3eb85418257a2748f054d811eb0c2e70f820.tar.bz2
upstream-976d3eb85418257a2748f054d811eb0c2e70f820.zip
add annex selection support to ltq_dsl package
SVN-Revision: 30518
Diffstat (limited to 'target/linux/lantiq/base-files/lib')
-rw-r--r--target/linux/lantiq/base-files/lib/lantiq.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/lib/lantiq.sh b/target/linux/lantiq/base-files/lib/lantiq.sh
index 3d36ed03fe..e4f1471a9e 100644
--- a/target/linux/lantiq/base-files/lib/lantiq.sh
+++ b/target/linux/lantiq/base-files/lib/lantiq.sh
@@ -11,3 +11,7 @@ lantiq_soc_name() {
lantiq_board_name() {
grep ^machine /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/\(.*\) - .*/\1/g"
}
+
+lantiq_dsl_fwannex() {
+ ls /lib/firmware/dsl-fw-*.bin 2> /dev/null | sed "s/.*\([ab]\)\.bin/\1/g"
+}