diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-02-12 06:00:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-02-12 06:00:38 +0000 |
commit | 3d9ed4425c9ee015f1384dfb5c4288ce5a15025d (patch) | |
tree | d604d47ed0783b1cb44ec9a1efb3c5cfb88fc203 /target/linux/package/base-files/files | |
parent | 09634919d3524e15cce41331fe2504031bb19a9c (diff) | |
download | master-187ad058-3d9ed4425c9ee015f1384dfb5c4288ce5a15025d.tar.gz master-187ad058-3d9ed4425c9ee015f1384dfb5c4288ce5a15025d.tar.bz2 master-187ad058-3d9ed4425c9ee015f1384dfb5c4288ce5a15025d.zip |
add support for netgear dg834 and the almost identical sphairon jdr454wb: new images, automatic boot loader patcher, updated flash script (dlink.pl renamed to adam2flash.pl) - Thanks to Jonathan McDowell (Noodles)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3221 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/base-files/files')
-rwxr-xr-x | target/linux/package/base-files/files/ar7-2.4/etc/init.d/S00adam2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/package/base-files/files/ar7-2.4/etc/init.d/S00adam2 b/target/linux/package/base-files/files/ar7-2.4/etc/init.d/S00adam2 new file mode 100755 index 0000000000..0ca4c01453 --- /dev/null +++ b/target/linux/package/base-files/files/ar7-2.4/etc/init.d/S00adam2 @@ -0,0 +1,8 @@ +#!/bin/sh +# ADAM2 patcher for Netgear DG834 and compatible +MD5="$(md5sum /dev/mtdblock/0 | awk '{print $1}')" +[ "$MD5" = "0530bfdf00ec155f4182afd70da028c1" ] && { + mtd unlock adam2 + /sbin/adam2patcher /dev/mtdblock/0 +} +rm -f /etc/init.d/S00adam2 /sbin/adam2patcher >&- 2>&- |