mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40460 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
241 B
Bash
Executable File
14 lines
241 B
Bash
Executable File
#!/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/
|
|
}
|
|
}
|