1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

lantiq: add runtime generation of /etc/config/network

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29161 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic
2011-11-15 18:21:00 +00:00
parent c62a1741c4
commit 5df57010b8
4 changed files with 135 additions and 26 deletions

View File

@@ -1,5 +1,9 @@
#!/bin/sh
lantiq_soc_has_adsl() {
ls /lib/modules/*/drv_dsl_cpe_api.ko
}
lantiq_soc_name() {
grep ^system /proc/cpuinfo | sed "s/system type.*: \(.*\)/\1/g"
}