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

SVN-Revision: 29161
This commit is contained in:
John Crispin
2011-11-15 18:21:00 +00:00
parent 13839520bc
commit bbe96f13a6
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"
}