lantiq: more vdsl related cleanups
[openwrt.git] / target / linux / lantiq / base-files / etc / init.d / dsl_fs
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2014 OpenWrt.org
3
4 . /lib/functions.sh
5
6 START=30
7 start() {
8         MTD=$(find_mtd_index dsl_fw)
9         [ "$MTD" -gt 0 ] && {
10                 mkdir -p /lib/firmware/dsl/
11                 mount -t jffs2 /dev/mtdblock$MTD /lib/firmware/dsl/
12         }
13 }