2
0
forked from Ivasoft/openwrt

lantiq: more vdsl related cleanups

* atm module needs to be loaded before linux-atm
* use absolute firmware paths
* extended validation
* add a script for mounting an optional firmware partition

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40460
This commit is contained in:
John Crispin
2014-04-11 20:40:24 +00:00
parent 7b960069a2
commit 390e856cb2
4 changed files with 38 additions and 16 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2014 OpenWrt.org
. /lib/functions.sh
START=30
start() {
MTD=$(find_mtd_index dsl_fw)
[ "$MTD" -gt 0 ] && {
mkdir -p /lib/firmware/dsl/
mount -t jffs2 /dev/mtdblock$MTD /lib/firmware/dsl/
}
}