add new ar7 dsl driver (thanks, matteo), mark ar7-2.4 as broken and enable ar7-2.6
[openwrt.git] / target / linux / ar7-2.6 / base-files / default / etc / init.d / adam2
1 #!/bin/sh /etc/rc.common
2 # ADAM2 patcher for Netgear DG834 and compatible
3 # Copyright (C) 2006 OpenWrt.org
4
5 START=00
6 start() {
7 MD5="$(md5sum /dev/mtdblock/0 | awk '{print $1}')"
8 [ "$MD5" = "0530bfdf00ec155f4182afd70da028c1" ] && {
9 mtd unlock adam2
10 /sbin/adam2patcher /dev/mtdblock0
11 }
12 disable
13 rm -f /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&-
14 }
This page took 0.043809 seconds and 5 git commands to generate.